[Koha-bugs] [Bug 14912] Sort Advanced Search Languages by priority

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 12 08:07:43 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14912

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #43251|0                           |1
        is obsolete|                            |

--- Comment #9 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 43333
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43333&action=edit
Bug 14912: (follow-up) Use priority sorting only if AdvancedSearchLanguagesSort
is set to priority.

This patch adds a system preference "AdvancedSearchLanguagesSort" that defines
whether the drop-down list should be sorted by priority in
AdvancedSearchLanguages
or alphabetically like before.

To test:
-1. Set some languages into AdvancedSearchLanguages system preference

1. Go to advanced search and look at Languages drop-down list
2. Note that the list is in alphabetical order
3. Apply patches and run database update
4. Change system preference AdvancedSearchLanguagesSort to "by priority"
5. Repeat step 1
6. Note that the list is sorted like AdvancedSearchLanguages
7. Change system preference AdvancedSearchLanguagesSort to "alphabetically"
8. Repeat step 1
9. Note that the list is again in alphabetical order

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Works as expected

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list