From 53983a8d557a2fc0b67f5e9ec5a925a49fd61e87 Mon Sep 17 00:00:00 2001 From: Alexis Ripetti Date: Thu, 13 May 2021 11:09:05 -0400 Subject: [PATCH] Bug 28350: Fix borrowernotes sorting for patron search Signed-off-by: David Nind --- .../intranet-tmpl/prog/en/modules/common/patron_search.tt | 3 +++ koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt index a019782501..9009d7a187 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/common/patron_search.tt @@ -168,6 +168,9 @@ },{ 'name': 'branch_sorton', 'value': 'branches.branchname' + },{ + 'name': 'borrowernotes_sorton', + 'value': 'borrowers.borrowernotes' },{ 'name': 'template_path', 'value': '[% json_template | html %]', diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index c7ba357582..edcc5e050d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -434,6 +434,9 @@ },{ 'name': 'branch_sorton', 'value': 'branches.branchname' + },{ + 'name': 'borrowernotes_sorton', + 'value': 'borrowers.borrowernotes' },{ 'name': 'template_path', 'value': 'members/tables/members_results.tt', -- 2.20.1