Bug 28723: Fix holds table display when a biblio has no title
Test plan:
1. Create a biblio without title, then create an item for this biblio.
2. Place a hold on it.
3. Go to the patron detail page and click on the Holds tab
4. Confirm that holds are correctly displayed
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 35874fa380)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
0b4d2268f1
commit
95172bffec
|
|
@ -138,7 +138,7 @@ $(document).ready(function() {
|
|||
title = "<a href='/cgi-bin/koha/reserve/request.pl?biblionumber="
|
||||
+ oObj.biblionumber
|
||||
+ "'>"
|
||||
+ oObj.title.escapeHtml();
|
||||
+ (oObj.title ? oObj.title.escapeHtml() : __('No title'));
|
||||
|
||||
$.each(oObj.subtitle, function( index, value ) {
|
||||
title += " " + value.escapeHtml();
|
||||
|
|
|
|||
Loading…
Reference in New Issue