Nick Clemens <> changed:

           What    |Removed                     |Added
  Attachment #56193|0                           |1
        is obsolete|                            |

--- Comment #5 from Nick Clemens <> ---
Created attachment 56541
Bug 17367 - Showing all items must keep show holdings tab in OPAC details

In OPAC details page, when record as too many items (depending on syspref
OpacMaxItemsToDisplay), they are not displayed in holdings tab.
You can click on link "Click here to view them all" to show them : page reloads
with a new arg viewallitems=1.
Also you can choose which tab is shown by default using syspref

The bug is that when default tab is not holdings, clicking on link to show all
items will show another tab. So one must reclick on holings tab to see all

This patch corrects by forcing holdings tab when arg viewallitems is defined.

Test plan :
- Create a serial record with more items than syspref OpacMaxItemsToDisplay (or
decrease this syspref)
- Select "Subscriptions tab" for syspref opacSerialDefaultTab
- Go to opac details on this record :
=> You see Subscriptions tab selected
- Click on Holdings tab
=> You see no items but a link "Click here to view them all"
- Click on this link
=> Without patch you see Subscriptions tab selected
=> Wih patch you see Holdings tab selected and the items

Signed-off-by: Juliette <>
Signed-off-by: Nick Clemens <>

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to