[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.11-45-g19d0de6

Git repo owner gitmaster at git.koha-community.org
Mon Oct 24 12:35:09 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.22.x has been updated
       via  19d0de6597c32c0ec495ca64a654c9576256feff (commit)
      from  96c2ee18ec079f76ac28e581a0b1194743a81542 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 19d0de6597c32c0ec495ca64a654c9576256feff
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed Sep 28 14:49:32 2016 +0200

    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 opacSerialDefaultTab.
    
    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 items.
    
    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 : /cgi-bin/koha/opac-detail.pl?biblionumber=xxx
    => 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 <juliette.levast at iepg.fr>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    
    Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
    (cherry picked from commit f1298dc7828757fe9277a5128910335d2d6c0f2c)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 2a62a9a18cc3a36288e6abf3586a7e606e6e07db)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 opac/opac-detail.pl |    2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list