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>
This commit is contained in:
parent
44d6528b56
commit
35874fa380
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue