30 May
2023
30 May
'23
8:07 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33786 --- Comment #14 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Not blocker, but this: + function get_prefilter_value(prefilter_key) { + let pre_filter = additional_prefilters.find(e => e.key === prefilter_key); + return additional_prefilters.length != 0 && typeof pre_filter !== "undefined" ? pre_filter['value'] : null; + } reads odd. We should not need 'additional_prefilters.length != 0'. Also I am wondering how this can be written nicely, Paul maybe? -- You are receiving this mail because: You are watching all bug changes.