Bugzilla – Attachment 80841 Details for
Bug 21063
Allow columns in intranet ILL request datatable to be customisable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21063: (follow-up) Add user ID to column list
Bug-21063-follow-up-Add-user-ID-to-column-list.patch (text/plain), 2.74 KB, created by
Andrew Isherwood
on 2018-10-18 13:35:19 UTC
(
hide
)
Description:
Bug 21063: (follow-up) Add user ID to column list
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-10-18 13:35:19 UTC
Size:
2.74 KB
patch
obsolete
>From 3f56cb73a7e5732e7bab845a39e8b75cb6e305ac Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Thu, 18 Oct 2018 14:21:36 +0100 >Subject: [PATCH] Bug 21063: (follow-up) Add user ID to column list > >As originally specified in bug 20883, there is a requirement for some >users to be able to display the user ID (borrowernumber) in the UI. > >This patch adds that ability to this bug, 20883 will be marked as a >duplicate of this one. >--- > Koha/Illrequest.pm | 7 ++++--- > admin/columns_settings.yml | 4 ++++ > koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 2 ++ > 3 files changed, 10 insertions(+), 3 deletions(-) > >diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm >index cc61a870e5..25fdb73208 100644 >--- a/Koha/Illrequest.pm >+++ b/Koha/Illrequest.pm >@@ -1005,9 +1005,10 @@ sub TO_JSON { > if ( $embed->{patron} ) { > my $patron = $self->patron; > $object->{patron} = { >- firstname => $patron->firstname, >- surname => $patron->surname, >- cardnumber => $patron->cardnumber >+ borrowernumber => $patron->borrowernumber, >+ firstname => $patron->firstname, >+ surname => $patron->surname, >+ cardnumber => $patron->cardnumber > }; > } > # Augment the request response with metadata details if appropriate >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index 85e6aaf357..8f0ffc77c1 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -280,6 +280,10 @@ modules: > - > columnname: orderid > - >+ columnname: patron_borrowernumber >+ - >+ columnname: patron_cardnumber >+ - > columnname: biblio_id > - > columnname: borrowernumber >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index 5af0cde22c..311b632dcf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -595,6 +595,8 @@ > <th scope="col">Pages</th> > <th scope="col">Type</th> > <th scope="col">Order ID</th> >+ <th scope="col">Patron ID</th> >+ <th scope="col">Patron barcode</th> > <th scope="col">Biblio ID</th> > <th scope="col">Patron</th> > <th scope="col">Branch</th> >-- >2.11.0
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 21063
:
76940
|
76941
|
76942
|
76943
|
79559
|
79560
|
80690
|
80691
|
80802
|
80841
|
82153
|
82154
|
82155
|
82156
|
82504
|
82505
|
82506
|
82507
|
84405
|
84786
|
84787
|
84788
|
84789
|
84790
|
84862
|
85854
|
85855
|
85869
|
85889
|
85893
|
85894
|
85895
|
85896
|
86060
|
86092
|
86093
|
86094
|
86095
|
86096
|
86097
|
86098
|
86099
|
86100
|
86101
|
86102
|
86103
|
86104
|
86105
|
86106
|
86235