From 73548b195e22e55ac68e571fc9c7245c62c10745 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 Signed-off-by: Kyle M Hall (cherry picked from commit 9f508a351fed899299dc18199c6e6e8bbaf90ae4) Signed-off-by: Fridolin Somers --- .../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 1772d97f3e..6cd49d6737 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 32ea450f76..f4e3cf5285 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -412,6 +412,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