Created attachment 54805 [details] screenshot of staff client showing the error 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 (please see attached screenshot). I've found a way to fix this, and will attach a patch using git bz. This is my first bug report so please be gentle :-)
Created attachment 54830 [details] [review] 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.
Created attachment 54833 [details] [review] 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.
Created attachment 54834 [details] [review] 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>
Pushed to master for 16.11, thanks Andreas!
Pushed in 16.05. Will be in 16.05.04.
Pushed to 3.22.x, will be in 3.22.11