From 6fdbb1bdbe05e16bf5a3827d1bf48639549de1cd Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sun, 20 Sep 2020 22:06:32 +0000
Subject: [PATCH] Bug 26490: Fix column configuration for fines trasactions

Hiding the last columns on the fines transactions in the
patron account in staff didn't work correctly as we had missed
adding Home library to the configuration options when it was
added.

This adds the missing definition and now all columns can be
toggled correctly.

To test:
- Go to any patron account in staff
- Go to Accounting > tab transactions (maybe add some fines)
- Toggle the columns on the table using the menu, especially
  - notes, home library and checkout date
- Go to Administration > Table configuration
- Verify the settings for the table work well from there too -
  with the patch, home_library will show as new option

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
 admin/columns_settings.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 96b3a31a68..f010bedc11 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -665,6 +665,8 @@ modules:
               columnname: returndate
             -
               columnname: issuedate
+            -
+              columnname: home_library
             -
               columnname: note
             -
-- 
2.20.1