From 8f3edc5a7e2f46ee3835eeada780402d9e329cbd Mon Sep 17 00:00:00 2001 From: Katlyn Beck Date: Wed, 24 Oct 2018 21:23:17 +0000 Subject: [PATCH] CAT-188 catalog fixes search templates - Added template name input, save button, and delete button - Adjusted getSearchStash() to parse JSON - Added templateActionSave function to call create_template using browser specific variables - Added templateActionDelete function to mirror desktop functionality - Added functions to save to localStorage in place of file storage Signed-off-by: Katlyn Beck Changes to be committed: modified: KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2 modified: Open-ILS/web/js/ui/kcls/conify/global/config/search_templates.js --- KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2 | 4 ++-- Open-ILS/web/js/ui/kcls/conify/global/config/search_templates.js | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2 b/KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2 index 9133c8229e..4d01c1cbfd 100644 --- a/KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2 +++ b/KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2 @@ -114,9 +114,9 @@ [% l('Template Name') %]
- +

- +