Bug 24083: Swap the column for "Unlimited" handling
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 9 Nov 2020 15:11:02 +0000 (16:11 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Nov 2020 15:09:58 +0000 (16:09 +0100)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt

index b3b8be4..25a62b0 100644 (file)
                             // Remove potential previous input added
                             $(current_column).find("input").remove();
                             $(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />");
-                        } else if ( i == 5 || i == 6 || i == 25 || i == 26 || i == 27 ) {
+                        } else if ( i == 5 || i == 6 || i == 26 || i == 27 || i == 28 ) {
                             // If the value is not an integer for
                             //     - "Current checkouts allowed"
                             //     - "Current on-site checkouts allowed"