Bug 24725: (QA follow-up) Add missing spaces between elements on claims tab
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 24 Feb 2020 17:01:19 +0000 (17:01 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Mar 2020 09:49:56 +0000 (09:49 +0000)
There was a missing space between the title and the barcode.
Also added a space between title and author.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/js/checkouts.js

index cb8535d..169bdc4 100644 (file)
@@ -905,9 +905,9 @@ $(document).ready(function() {
                                   + ( oObj.enumchron || "" )
                               + '</a>';
                               if ( oObj.author ) {
-                                title += 'by ' + oObj.author;
+                                title += ' by ' + oObj.author;
                               }
-                              title += '<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=' + oObj.biblionumber + '&itemnumber=' + oObj.itemnumber + '">' + oObj.barcode + '</a>';
+                              title += ' <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=' + oObj.biblionumber + '&itemnumber=' + oObj.itemnumber + '">' + oObj.barcode + '</a>';
 
                               return title;
                         }