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

--- Comment #14 from Jonathan Druart <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to