Bug 24515: Column Configuration for pay-fines-table does not hide Account Type properly
authorOwen Leonard <oleonard@myacpl.org>
Fri, 24 Jan 2020 23:25:20 +0000 (23:25 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 27 Jan 2020 10:13:43 +0000 (10:13 +0000)
This patch corrects the order of the columns in the columns
configuration YML file. The incorrect order was causing the wrong column
to be hidden when changing the columns settings for the table in
Administration.

To test, apply the patch and go to Administration -> Columns settings.

 - Under Patrons -> pay-fines-table, test hiding the account_type and
   description columns, together and separately.
 - Verify that the correct columns are hidden on the pay fines screen
   (Patron -> Accounting -> Make a payment)

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

admin/columns_settings.yml

index f604f79..2bb203c 100644 (file)
@@ -550,6 +550,8 @@ modules:
           cannot_be_toggled: 1
           cannot_be_modified: 1
         -
+          columnname: account_type
+        -
           columnname: description
         -
           columnname: date
@@ -562,8 +564,6 @@ modules:
         -
           columnname: note
         -
-          columnname: account_type
-        -
           columnname: amount
         -
           columnname: amountoutstanding