From f2e1b9738606146477f89b6068807ef1b9127187 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 (cherry picked from commit 7af9c1c109fd191cc638614e32e5aecd5cbb525a) Signed-off-by: Lucas Gass --- Koha/Database/Columns.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Database/Columns.pm b/Koha/Database/Columns.pm index 5fa7075de2..fab98ee2c3 100644 --- a/Koha/Database/Columns.pm +++ b/Koha/Database/Columns.pm @@ -232,6 +232,7 @@ sub columns { "branchcode" => __("branchcode"), "patronreason" => __("patronreason"), "note" => __("note"), + "title" => __("title"), } }; } -- 2.39.5