]> git.koha-community.org Git - koha.git/commit
Bug 17185: Staff client shows "Lists that include this title:" even if item is not...
authorAndreas Roussos <arouss1980@gmail.com>
Wed, 24 Aug 2016 14:10:29 +0000 (17:10 +0300)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 20:09:06 +0000 (22:09 +0200)
commit551067f89c251420c6704ec262e4915782105c47
tree2370d643027374c5967538f13f9e652dc551a941
parentb7b48eda3f973c9eee3b91d024c04c78c2ddb547
Bug 17185: Staff client shows "Lists that include this title:" even if item is not in a list

In the staff client, the text "Lists that include this title:"
is always shown, regardless of whether the item is in a list
or not. This patch fixes that.

Test plan:
1) Log in to staff client.
2) Go to biblio details view:
   /cgi-bin/koha/catalogue/detail.pl?biblionumber=X
   Confirm that "Lists that include this title:" is
   shown even if the item is not in a list.
3) Apply the patch.
4) Repeat step 2. Confirm that the patch works, i.e.
   "Lists that include this title:" is only shown
   for biblios that are actually in a list.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Only applies to non-XSLT view.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit add90157eb859143dc782fded4b00a47a39d8abe)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt