From bb901b90f1a4646abc30df870870b66f4f4da31a Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@theke.io>
Date: Wed, 21 Apr 2021 16:05:35 -0300
Subject: [PATCH] Bug 28190: Fix columns_settings.yml itemtypes entry

The parent_code column is missing on the columns_settings.yml file, so
columns are shifted and thus 'Library limitations' is not toggable.

To test:
1. Verify you are not offered the chance to hide the column
2. Apply this patch, restart all the things
=> SUCCESS: You can toggle the column
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
---
 admin/columns_settings.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 2bc56bfc6f..904cf65551 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -235,9 +235,11 @@ modules:
             -
               columnname: image
             -
+              columnname: description
+            -
               columnname: code
             -
-              columnname: description
+              columnname: parent_code
             -
               columnname: search_category
             -
-- 
2.11.0