[Koha-bugs] [Bug 23247] Simplify visibility logic in opac-MARCdetail.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 4 04:22:12 CEST 2019


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

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 91253
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91253&action=edit
Bug 23247: Simplify visibility logic used in opac-MARCdetail.pl

This patch uses the OO code, with prefetching and all, to make decisions
on visibility. It shouldn't change any behaviour, unless you are
counting DB queries, execution time, etc.

To test:
- Find a known record, go to the OPAC MARC page of it.
- Play with several options in OpacHiddenItems, refreshing it
- Play with OpacHiddenItemsExceptions as well
=> SUCCESS: Things work as expected
- Apply this patch
- Repeate the tests above
=> SUCCESS: Things work as expected!
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list