Opened 4 years ago

Closed 4 years ago

#2562 closed defect (fixed)

Fix Order of Taxonomy Dataview Fields

Reported by: Benjamin Haag Owned by: Benjamin Haag
Priority: medium Milestone: Server 2.3.1
Component: Dataviews (CT) Version: N/A
Severity: Keywords:
Cc: melanie.schori@…, kurt.endress@… Database Engine: N/A
Operating System: N/A

Description

Please make sure the taxonomy_species dataview is updated to have its columns in the following order. I know column order is rather arbitrary for most dataviews, but we add data in a particular pattern in taxonomy species, and it would be very helpful if we didn’t have to rearrange most of the columns in the CT, ST, and taxonomy wizard as more schema changes are put on prod. It’s a rather tedious process to move the 15 columns into which we regularly enter data into a logical order.


taxonomy_species_ID

nomen_number

taxonomy_genus_ID

species_name

species_authority

is_specific_hybrid

subspecies_name

subspecies_authority

is_subspecific_hybrid

variety_name

variety_authority

is_varietal_hybrid

subvariety_name

subvariety_authority

is_subvarietal_hybrid

forma_rank

is_forma_hybrid

forma_name

forma_authority

name_verified_date

verifier_cooperator_ID

synonym_code

current_taxonomy_species_ID

protologue

protologue_virtual_path

note

hybrid_parentage (lacks a mouseover with details)

name

name_authority

alternate_name


After these columns, I don’t care what order the remaining columns are in because we tend not to use them.

Attachments (2)

Trac_2562.txt​ (2.4 KB ) - added by Benjamin Haag 4 years ago.
Dataview SQL
Trac_2562_CORRECTED.txt​ (2.4 KB ) - added by Benjamin Haag 4 years ago.
Correction of previously uploaded script.

Download all attachments as: .zip

Change History (5)

by Benjamin Haag, 4 years ago

Attachment: Trac_2562.txt​ added

Dataview SQL

comment:1 by Benjamin Haag, 4 years ago

On DEV:
1) Modified get_taxonomy_species dataview (SQL attached)

NOTE: Will look into mouseover issue. Friendly names had been missing from dev dataview; this seems the likely cause.

by Benjamin Haag, 4 years ago

Attachment: Trac_2562_CORRECTED.txt​ added

Correction of previously uploaded script.

comment:2 by Benjamin Haag, 4 years ago

Corrected duplicate-column name issue (see attached script).

comment:3 by Benjamin Haag, 4 years ago

Resolution: → fixed
Status: assigned → closed

Fixed on dev and prod.
Change implemented in server build 2.3.1.

Note: See TracTickets for help on using tickets.