Bugzilla – Attachment 26068 Details for
Bug 9811
Patrons search improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9811: FIX branches loop was not correctly set
Bug-9811-FIX-branches-loop-was-not-correctly-set.patch (text/plain), 1.07 KB, created by
Jonathan Druart
on 2014-03-11 10:34:39 UTC
(
hide
)
Description:
Bug 9811: FIX branches loop was not correctly set
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-03-11 10:34:39 UTC
Size:
1.07 KB
patch
obsolete
>From 9bf2d374bb73d2188022370b830fba9c0c784eb0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 10 Jan 2014 11:24:48 +0100 >Subject: [PATCH] Bug 9811: FIX branches loop was not correctly set > >The branches loop was not set with the values. >--- > members/members-home.pl | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/members/members-home.pl b/members/members-home.pl >index 5e816eb..d57a887 100755 >--- a/members/members-home.pl >+++ b/members/members-home.pl >@@ -56,10 +56,13 @@ if ( C4::Branch::onlymine ) { > } > } else { > foreach (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %{$branches}) { >+ my $selected = 0; >+ $selected = 1 if $branch and $branch eq $_; > push @branchloop, { >- value => $_, >- selected => ($branches->{$_}->{branchcode} eq $branch), >+ value => $_, >+ branchcode => $_, > branchname => $branches->{$_}->{branchname}, >+ selected => $selected > }; > } > } >-- >1.7.10.4
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 9811
:
16096
|
16111
|
16112
|
16320
|
16362
|
16403
|
16957
|
19056
|
19057
|
19307
|
19633
|
19642
|
20094
|
20095
|
20096
|
20174
|
20266
|
20290
|
20291
|
21169
|
21170
|
21171
|
21172
|
21173
|
21174
|
21175
|
22265
|
23261
|
24095
|
24111
|
26067
|
26068
|
26261
|
26336
|
26337
|
26342
|
26347
|
27642
|
27643
|
27644
|
27645
|
27646
|
27711
|
28738
|
28739
|
28740
|
28741
|
28742
|
28743
|
28744
|
28745
|
28746
|
28747
|
28781
|
28782
|
29019
|
29020
|
29021
|
29022
|
29023
|
29024
|
29025
|
29026
|
29027
|
29028
|
29029
|
29442