[Koha-bugs] [Bug 12017] Move language description out of database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 29 10:08:37 CEST 2015


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

Julian FIOL <julian.fiol at biblibre.com> changed:

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

--- Comment #78 from Julian FIOL <julian.fiol at biblibre.com> ---
Created attachment 39660
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39660&action=edit
Bug 12017 - 6 - Change syspref AdvancedSearchLanguages

Bug 10986 introduces a way of limiting advanced search
languages list. It's a good feature, but to fill the
preference you need to list iso639_2 codes. And there
is no way to get the list of all codes again as
before, and language descriptions are taken from database.

This patch changes that preference so it's now
a Local syspref, to present an interface to set
it's value. Also adds another syspref to control
if language chooser is limited at all, recovering
previous behavior.

As per comments on Bug 10986 language list shows
translated and native names and is ordered by
iso639_2 code

To test:
1. Apply the patch
2. Run updatedatabase.pl
3. Go to system preferences, Searching, new syspref
LimitAdvancedSearchLanguages, on by default
4. Go to Local use sysprefs, AdvancedSearchLanguages
is now here with interface to set it's values
5. Check language limit on advanced search on
staff and opac (any theme)
6. Disable limit and chech language list
7. Enable limit and set different languages
on syspref, check language list

Signed-off-by: Julian FIOL <julian.fiol at biblibre.com>

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


More information about the Koha-bugs mailing list