Bug 28723: Replace "No title" by an empty string
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 31 May 2022 09:36:37 +0000 (11:36 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Jun 2022 12:44:39 +0000 (09:44 -0300)
This is to be consistent with what is done in checkouts.js

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/js/holds.js

index c422cfa..964528a 100644 (file)
@@ -138,7 +138,7 @@ $(document).ready(function() {
                             title = "<a href='/cgi-bin/koha/reserve/request.pl?biblionumber="
                                   + oObj.biblionumber
                                   + "'>"
-                                  + (oObj.title ? oObj.title.escapeHtml() : __('No title'));
+                                  + (oObj.title ? oObj.title.escapeHtml() : '');
 
                             $.each(oObj.subtitle, function( index, value ) {
                                 title += " " + value.escapeHtml();