[koha-commits] main Koha release repository branch master updated. v16.05.00-1051-gf1298dc

Git repo owner gitmaster at git.koha-community.org
Tue Oct 18 01:47:43 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, master has been updated
       via  f1298dc7828757fe9277a5128910335d2d6c0f2c (commit)
      from  e78f81d615a79ad293d599c7395efcabd267662d (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 f1298dc7828757fe9277a5128910335d2d6c0f2c
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>

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

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