Bug 19630: Removed constant message from Status column
authorHayley Mapley <hayleymapley@catalyst.net.nz>
Sun, 7 Apr 2019 22:25:11 +0000 (10:25 +1200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 11 Apr 2019 13:52:09 +0000 (13:52 +0000)
Test plan:
Same as initial test plan, except that when a hold has no status that
the Status column for that hold should be blank instead of saying
"Hold has been placed".

Sponsored-by: Catalyst IT

Signed-off-by: Michal Denar <black23@gmail.com>

Signed-off-by: Michal Denar <black23@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

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

index 48d13fb..1ca9a62 100644 (file)
@@ -132,9 +132,6 @@ $(document).ready(function() {
                     {
                         "mDataProp": function( oObj ) {
                             var data = "";
-                            if ( oObj.suspend != 1 && !oObj.itemtype_limit) {
-                                data = _("Hold has been placed\n");
-                            }
 
                             if ( oObj.suspend == 1 ) {
                                 data += "<p>" + HOLD_IS_SUSPENDED;