[Koha-bugs] [Bug 17527] 245 $h Medium - hidden settings in MARC framework don' t work correctly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 4 16:54:26 CET 2016


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

--- Comment #17 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 57217
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57217&action=edit
Bug 17527: Avoid double filtering and floody log clean up

Because the filtering filters parameter values, C4/Output was
triggering floody output.

During testing, everything was set to hidden=-8. While this is
not realistic, it did uncover some floodiness which may have
already existed with the non-XSLT output.

OPAC did have a double filtering call, because of the poor design
of the template. An if condition around the processor call
prevents that, while still allowing the template to work.

TEST PLAN
---------
0) Back up your DB
1) in marc_subfield_structure, set all hidden=-8
   -- this makes everything hidden everywhere.
   -- it is completely arbitrary, any value which hides in
      OPAC would suffice for this patch.
2) in the staff client, make sure the OPACXSLTDetailsDisplay
   system preference is 'default' or some custome template
   -- default was used for testing.
3) make sure at least one book is entered in the system
   -- my testing assumes 1
   -- testing data set only had book with 'carbs' in title.
4) search for 'carbs' in the OPAC
   -- because I only had 1 match it redirected to results.
   -- material type 'book' comes from LDR, which is not
      filtered.
   -- the items section is built and not part of the filter.
   -- should be painfully sparse
5) select the three views
   -- all should be painfully sparse
6) select 'view plain' in the MARC view tab.
   -- painfully sparse
7) run koha qa test tools

NOTE: This patch only needs testing in OPAC.

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


More information about the Koha-bugs mailing list