Bug 10283: Hide "many items" on second tab when using OpacSeparateHoldings
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 20 May 2013 07:53:38 +0000 (09:53 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 31 Oct 2013 16:53:56 +0000 (16:53 +0000)
commit363e986c60b8d3a0fc6badf3739e58fbb3e65801
tree9ae0891e57024b35637b3ff7dbe8beada45c473f
parente8c73f6d6c34191d774328ab47be4379e8c3932b
Bug 10283: Hide "many items" on second tab when using OpacSeparateHoldings

If there are over 50 items in the holdings or Other holdings tab, the
warning and link 'This record has many physical items. Click here to
view them all.' is only shown for the first tab.

Test plan:
- Switch on the OpacSeparateHoldings pref.
- Go on a biblio detail page at the OPAC with more than 50 items
- Check that the 'view all' link appears on the second tab.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
opac/opac-detail.pl