Bugzilla – Attachment 166021 Details for
Bug 36614
Reinstate phone column in patron search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36614: Restore 'phone' on the main patron search
Bug-36614-Restore-phone-on-the-main-patron-search.patch (text/plain), 2.08 KB, created by
Nick Clemens (kidclamp)
on 2024-05-01 17:16:39 UTC
(
hide
)
Description:
Bug 36614: Restore 'phone' on the main patron search
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-05-01 17:16:39 UTC
Size:
2.08 KB
patch
obsolete
>From 15172d7d69312b6bf591d5feec87b83392b8b3e4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 17 Apr 2024 12:33:24 +0200 >Subject: [PATCH] Bug 36614: Restore 'phone' on the main patron search > >It disappeared at some point (history is tricky here, I didn't manage to >track down what happened, it's a mess) > >This patch adds a phone column after the "name and address" one. It's >hidden by default. > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > admin/columns_settings.yml | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 1ae17d384b2..c06cc0e3d0b 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1048,6 +1048,9 @@ modules: > columnname: cardnumber > - > columnname: name >+ - >+ columnname: phone >+ is_hidden: 1 > - > columnname: dateofbirth > - >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 7bc63c9e729..ba5ad6c1077 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt >@@ -10,7 +10,7 @@ > [% PROCESS 'patronfields.inc' %] > [% SET libraries = Branches.all %] > [% SET categories = Categories.all.unblessed %] >-[% SET columns = ['cardnumber', 'name-address', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'action'] %] >+[% SET columns = ['cardnumber', 'name-address', 'phone', 'dateofbirth', 'branch', 'category', 'dateexpiry', 'checkouts', 'account_balance', 'borrowernotes', 'action'] %] > [% SET searchtype = searchtype || Koha.Preference('DefaultPatronSearchMethod') %] > [% PROCESS 'patron-search.inc' %] > [% INCLUDE 'doc-head-open.inc' %] >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36614
:
164991
|
165017
|
165021
| 166021