From c66ddc0926984b605eca70b40dab19c91c508a83 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 Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- .../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.39.5