http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7690

Fridolyn SOMERS <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|[email protected]         |[email protected]
                   |                            |m

--- Comment #1 from Fridolyn SOMERS <[email protected]> ---
Created attachment 11498
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11498&action=edit
Proposed patch

Main problem is that in opac-results.tt, the hidden items are managed in
available items loop, but they are in others loop.

Second problem is that adding hidden items in other items list will give false
lost/damaged/withdrawn/onloan/onhold/... count number.

Since these items are not displayed, there is no need to send them to template.
So i changed behavior : if item is hidden it is not in item loops.

Test plan : 
-----------
Check display with 'OpacHiddenItems' syspref hidding some items and all items.
Check display with 'hidelostitems' syspref hidding some lost items and all
items.
Combine with and without XSLT.

Test with bug 6488 tests :
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6488#c45

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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