Bug 29256

Summary: Use LANG authorized values in advanced search
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: RESOLVED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25376
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13015
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Fridolin Somers 2021-10-15 19:31:42 UTC
In biblio records, language is edited using LANG authorized values, so we should also use it in advanced search filter.
This will make is way easier to manage possible languages.
Comment 1 Fridolin Somers 2021-10-15 19:35:57 UTC
Somehow depends on Bug 25376
Comment 2 Katrin Fischer 2021-10-17 10:24:02 UTC
LANG is not used in MARC21 by default at the moment and I think these are separate use cases. You can assume that your catalogers will all catalog in one language, but you can't assume the same for your OPAC users. 

I think we need to replace the database approach we currently have as bug 12017 suggests, but using the authorised value list is not the right approach, because it will require individual work by each library for a standardized list and is untranslatable. 

Personally I have translated languages multiple times now (once for the list XSLT uses, which is a great feature) and would be more than happy to have those reused instead of having to do it again for SQL :)
Comment 3 Fridolin Somers 2022-03-25 21:29:02 UTC
I'm not working on patches for this
Comment 4 Katrin Fischer 2023-06-24 20:36:25 UTC
(In reply to Fridolin Somers from comment #3)
> I'm not working on patches for this