From 6290e1aadb369381ddf9504defc2c851054cd869 Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sat, 11 Apr 2020 10:36:36 +0000
Subject: [PATCH] Bug 24768: Add 'Return claims' to column configuration for
 checkouts tables
Content-Type: text/plain; charset=utf-8

The checkouts tables on the checkouts and details tabs in the staff
patron account support column confiugration, but the new column
"Return claims" was missing.

This patch adds the column to the column configuration.

To test:
- Make sure to test with a patron having return claims and without
- Verify cou can toggle the visibility of the return claims column
  from top of the tables in the checkouts and details tabs
- Go to administrastion > column configuration
- Change the settings for the issues tables in the Patrons and
  Circulation sections
- Verify the changes have been applied to the tables as configured

Signed-off-by: David Roberts <david@koha-ptfs.co.uk>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
---
 admin/columns_settings.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 08ea52b925..19e0bebb3c 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -658,6 +658,8 @@ modules:
         -
           columnname: checkin
         -
+          columnname: claims_returned
+        -
           columnname: export
           cannot_be_toggled: 1
           cannot_be_modified: 1
@@ -873,9 +875,12 @@ modules:
         -
           columnname: checkin
         -
+          columnname: claims_returned
+        -
           columnname: export
           cannot_be_toggled: 1
           cannot_be_modified: 1
+
       table_borrowers:
         -
           columnname: name
-- 
2.11.0