From 7af9c1c109fd191cc638614e32e5aecd5cbb525a Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 23 Sep 2022 14:49:48 -0400 Subject: [PATCH] Bug 31619: add title back to list of OPACSuggestionMandatoryFields options This patch fixes a regression introduced by bug 29695 that prevented setting the title as a required field when setting the OPACSuggestionMandatoryFields to a non-default value. To test: [1] Set OPACSuggestionMandatoryFields in the system preferences editor and note that 'title' is not listed in the modal that is displayed. [2] Apply the patch. [3] Revist the system preference editor and note that 'title' is now displayed as an option. Signed-off-by: Galen Charlton Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- Koha/Database/Columns.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Database/Columns.pm b/Koha/Database/Columns.pm index a71d772b39..0fe0efc181 100644 --- a/Koha/Database/Columns.pm +++ b/Koha/Database/Columns.pm @@ -234,6 +234,7 @@ sub columns { "branchcode" => __("branchcode"), "patronreason" => __("patronreason"), "note" => __("note"), + "title" => __("title"), } }; } -- 2.39.5