LP1881012 Typo in staff/circ/hold/app.js
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 21 Jun 2021 16:36:27 +0000 (12:36 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 24 Sep 2021 19:01:36 +0000 (15:01 -0400)
Fixes 'legnth' typo.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/circ/holds/app.js

index 9f4e1ce..cc13f30 100644 (file)
@@ -62,7 +62,7 @@ function($scope , $q , $routeParams , $window , $location , egCore , egHolds , e
 
         // if in clear mode...
         if (clear_mode && holds.length) {
-            if (!all_holds.legnth) all_holds = holds;
+            if (!all_holds.length) all_holds = holds;
             holds = holds.filter(function(h) { return h.hold.clear_me });
             hold_count = holds.length;
             return provider.arrayNotifier(holds, offset, count);