Bug 33484: (follow-up) Fix category select
Lower everything or broken for library Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
382ae250bf
commit
9f623e2962
|
|
@ -880,7 +880,7 @@ function _dt_add_filters(table_node, table_dt, filters_options = {}) {
|
|||
// Compare with lc, or selfreg won't match ^SELFREG$ for instance, see bug 32517
|
||||
// This is only for category, we might want to apply it only in this case.
|
||||
existing_search = existing_search.toLowerCase()
|
||||
if ( existing_search === this._id || (existing_search && this._id.match(existing_search)) ) {
|
||||
if ( existing_search === this._id || (existing_search && this._id.toLowerCase().match(existing_search)) ) {
|
||||
o.prop("selected", "selected");
|
||||
}
|
||||
o.appendTo(select);
|
||||
|
|
|
|||
Loading…
Reference in New Issue