fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
458 stars 299 forks source link

How to Order the Data Entry Tags for new Individuals? #4484

Open Norwegian-Sardines opened 2 years ago

Norwegian-Sardines commented 2 years ago

Because the list of tags that can be entered for a new Individual can take multiple screen “pages”, I’d like to have a way to dictate the order of the tags for entry of a new individual based on my requirements of importance and so that one line tags are not lost or missed at the bottom.

I tried to enter tags in a different order but after the save they were reordered by the system.

fisharebest commented 2 years ago

As far as I can tell, the edit control tomselect sorts values alphabetically, so this is how the configuration option is saved in the database.

But we ignore the order in which the facts are saved. New facts are sorted to be in the same order that they would be displayed on an individual's page.

Removing the sort would leave all existing sites with facts alphabetically - e.g. BAPM, BIRT, BURI, CHR, DEAT, …