[Koha-bugs] [Bug 23912] Get correct authorised values for location and collections facets
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 29 14:38:59 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23912
Fridolin SOMERS <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |In Discussion
--- Comment #7 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
I think it needs review to use code like in Bug 26323.
And also :
Why is there in C4::Search::getRecords
my $av = Koha::AuthorisedValues->search({ category => 'CCODE', authorised_value
=> $one_facet });
When the description is fetched in template :
[% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value =
AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode',
authorised_value => facet.facet_label_value, opac =>1 ) ||
facet.facet_label_value %][% END %]
Shouldn't we better add code for location facet that is like for ccode ?
And remove AV manipulation from C4::Search.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list