Bugzilla – Attachment 4386 Details for
Bug 6473
Test bug for Git-bz ✔ ❤ ★
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 6467: Add shelving location to checkin screen
SIGNED-OFF-Bug-6467-Add-shelving-location-to-check.patch (text/plain), 2.77 KB, created by
Liz Rea
on 2011-06-06 21:06:35 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 6467: Add shelving location to checkin screen
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2011-06-06 21:06:35 UTC
Size:
2.77 KB
patch
obsolete
>From 665feab12eb5152eafb77800fa54ec005dd4c0a7 Mon Sep 17 00:00:00 2001 >From: ruth@bywatersolutions.com <ruth@bywatersolutions.com> >Date: Mon, 6 Jun 2011 18:50:15 -0400 >Subject: [PATCH] [SIGNED OFF] Bug 6467: Add shelving location to checkin screen >Content-Type: text/plain; charset="utf-8" > >http://bugs.koha-community.org/show_bug.cgi?id=6473 >--- > circ/returns.pl | 6 ++++++ > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 3 ++- > 2 files changed, 8 insertions(+), 1 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index d7fad0c..bb5230b 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -537,6 +537,7 @@ if ($borrower) { > my $returned_counter = ( C4::Context->preference('numReturnedItemsToShow') ) ? C4::Context->preference('numReturnedItemsToShow') : 8; > my $count = 0; > my @riloop; >+my $shelflocations = GetKohaAuthorisedValues('items.location',''); > foreach ( sort { $a <=> $b } keys %returneditems ) { > my %ri; > if ( $count++ < $returned_counter ) { >@@ -575,6 +576,11 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{ccode} = $biblio->{'ccode'}; > $ri{itemnumber} = $biblio->{'itemnumber'}; > $ri{barcode} = $bar_code; >+ >+ $ri{location} = $biblio->{'location'}; >+ my $shelfcode = $ri{'location'}; >+ $ri{'location'} = $shelflocations->{$shelfcode} if ( defined( $shelfcode ) && defined($shelflocations) && exists( $shelflocations->{$shelfcode} ) ); >+ > } > else { > last; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 620f770..c02be49 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -396,7 +396,7 @@ function Dopop(link) { > [% IF ( riloop ) %] > <h2>Checked-In items</h2> > <table> >- <tr><th>Due Date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Call Number</th><th>Type</th> <th>Patron</th><th>Note</th></tr> >+ <tr><th>Due Date</th><th>Title</th> <th>Author</th> <th>Barcode</th><th>Shelving Location</th><th>Call Number</th><th>Type</th> <th>Patron</th><th>Note</th></tr> > > [% FOREACH riloo IN riloop %] > <tr> >@@ -412,6 +412,7 @@ function Dopop(link) { > [% riloo.itemtitle |html %]</a></td> > <td>[% riloo.itemauthor %]</td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td> >+ <td>[% riloo.location %]</td> > <td>[% riloo.itemcallnumber %]</td> > <td>[% riloo.itemtype %] [% riloo.ccode %]</td> > <td>[% IF ( riloo.duedate ) %] >-- >1.7.2.5
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 6473
:
4386
|
6837
|
6838
|
6839
|
6840
|
6841
|
6842
|
6843
|
7154
|
7155
|
7567
|
7994
|
7995
|
7996
|
7997
|
8018
|
9807
|
9808
|
9813
|
9831
|
9832
|
9836
|
9854
|
10842
|
10843
|
10844
|
10845
|
10846
|
10847
|
10848
|
10849
|
10850
|
10851
|
10852
|
10853
|
10854
|
10855
|
10856
|
10857
|
10858
|
11540
|
11543
|
11544
|
12502
|
12513
|
12514
|
12515
|
12516
|
12517
|
12518
|
12519
|
13473
|
13673
|
14955
|
14969
|
14970
|
14972
|
15201
|
18949
|
18950
|
18951
|
18952
|
18953
|
18954
|
18955
|
18956
|
18957
|
18958
|
18959
|
18960
|
18961
|
18962
|
18963
|
18971
|
18972
|
19518
|
19519
|
19591
|
19592
|
19871
|
19879
|
19880
|
19881
|
19882
|
20011
|
20012
|
20013
|
20014
|
22477
|
22481
|
22482
|
22496
|
22502
|
22503
|
31958
|
32444
|
32445
|
32446
|
32447
|
32448
|
32449
|
32450
|
32451
|
32452
|
34200
|
34201
|
34625
|
34999
|
35130
|
35269
|
35273
|
35274
|
35275
|
35276
|
35277
|
35279
|
35280
|
35303
|
40954
|
40957
|
45345
|
45349
|
45731
|
45732
|
45733
|
45734
|
47283
|
47284
|
47298
|
47299
|
47300
|
47334
|
47336
|
49083
|
56974
|
61059
|
61069
|
62038
|
65313
|
77301
|
78016
|
79959
|
80178
|
80179
|
80180
|
80181
|
80182
|
84400
|
86644
|
86645
|
87152
|
88128
|
95586
|
95716
|
97394
|
99026
|
99027
|
114217
|
114218
|
114219
|
114220
|
114221
|
114222
|
114223
|
114224
|
114225
|
114226
|
119255
|
121181
|
131891
|
131893
|
131894
|
134862
|
144109
|
144144
|
144671
|
144672
|
144673
|
147183
|
149030
|
149031
|
149032
|
149033
|
160566
|
160567
|
160568