Page 1 of 1

Subject scheme: values sorted alphabetically in oXygen

Posted: Tue Feb 17, 2015 1:54 pm
by Frank Ralf
Hi,

I use Subject Scheme Maps for providing controlled attribute values for our authors. These values are always presented in alphabetical order in oXygen, either in the Attributes view or with code completion in Text mode. However, in most cases I would prefer that the values are displayed in the same order they are defined in the subject scheme map, for example:

Code: Select all


<subjectdef keys="periodic_table">
<subjectdef keys="hydrogen" />
<subjectdef keys="heliumn" />
<subjectdef keys="lithium" />
<subjectdef keys="beryllium" />
<subjectdef keys="boron" />
<subjectdef keys="carbon" />
<subjectdef keys="notrogen" />
<subjectdef keys="oxygen" />
</subjectdef>
It would be great if oXygen would provide such a setting.

Kind regards,
Frank

Re: Subject scheme: values sorted alphabetically in oXygen

Posted: Wed Feb 18, 2015 9:46 am
by Radu
Hi Frank,

A problem with displaying the values unsorted both in the Text mode content completion window and in the Attributes views (Text or Author) is that in all those places you have key search (type the first letters of the attribute value to find a match) and in order to have efficient key search the list needs to be sorted first. But this has been asked before so you have a valid use case. There is already an issue we have registered for this, I will add your comments to it. Possibly in a future version there will be a checkbox controlling this behavior as some people may want the current sorting.

As a partial workaround, in the Author editing mode you can right click inside an element, choose "Edit Profiling Attributes" and you should get the attribute values in exactly the same order in which they were defined in the subject scheme map.

Regards,
Radu

Re: Subject scheme: values sorted alphabetically in oXygen

Posted: Wed Feb 18, 2015 12:29 pm
by Frank Ralf
Hi Radu,

Thanks for this information and for adding this to the oXygen wish-list ;-)
I will try your workaround.

Kind regards,
Frank