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

--- Comment #7 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 203928
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203928&action=edit
Bug 35052: Attach resolved OpacHiddenItems rules to the built query

Wire _resolve_opac_hidden_items_rules into build_query_compat by:
1. Calling the method to resolve the rules (returns undef if not applicable)
2. Attaching the result to $query->{_opac_hidden_items_rules} when non-undef

This allows Task 5's _apply_opac_hidden_items_filter to read and delete these
rules from the query object when filtering search results.

Adds 2 new assertions testing that:
- OPAC searches with is_opac=1 carry the resolved hidden-items rules
- Staff searches with is_opac=0 do not carry the rules

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to