[Koha-bugs] [Bug 27565] Dropdowns in Item Search should be sorted alphabetically

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 30 16:52:42 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27565

--- Comment #11 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Martin Renvoize from comment #10)
> (In reply to Fridolin Somers from comment #8)
> > I see some places call get_descriptions_by_koha_field() with :
> > { order_by => ['description'] }
> > 
> > https://git.koha-community.org/Koha-community/Koha/src/commit/
> > 4a6dd5f82da1f45456b953421e699abc179a6fb9/reports/catalogue_stats.pl#L120
> > 
> > Does this even work ?
> 
> Yeah, I really don't think that works.. Unless I'm missing something..
> 'description' is the field name in the UI, not a field name in the database.

Also get_descriptions_by_koha_field() only uses the first given hash as $param,
I think second hash is ignored.

Maybe caused by replacement of search_by_koha_field() with
get_descriptions_by_koha_field() :
https://git.koha-community.org/Koha-community/Koha/commit/a16a75018063477cf13fdbdad60152bbb27a7616

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


More information about the Koha-bugs mailing list