Bugzilla – Attachment 55509 Details for
Bug 17285
Rancor - Advanced editor fails or broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF]Bug 17285: (15758 follow-up) Fix advanced editor
SIGNED-OFFBug-17285-15758-follow-up-Fix-advanced-e.patch (text/plain), 1.26 KB, created by
Héctor Eduardo Castro Avalos
on 2016-09-12 16:08:12 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 17285: (15758 follow-up) Fix advanced editor
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2016-09-12 16:08:12 UTC
Size:
1.26 KB
patch
obsolete
>From 67c87090f468887088efec279beb015d8016800b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 12 Sep 2016 16:45:22 +0100 >Subject: [PATCH] [SIGNED-OFF]Bug 17285: (15758 follow-up) Fix advanced editor > >Little mistake from df97814, $branches is a hash { branchcode => >branchname } > >Test plan: >Edit a biblio with the advanced editor > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >The advanced editor works as expected >--- > svc/cataloguing/framework | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/cataloguing/framework b/svc/cataloguing/framework >index b0099e8..4880b8a 100755 >--- a/svc/cataloguing/framework >+++ b/svc/cataloguing/framework >@@ -32,7 +32,7 @@ my $authorised_values = {}; > my $branches = { map { $_->branchcode => $_->branchname } Koha::Libraries->search_filtered }; > $authorised_values->{branches} = []; > foreach my $thisbranch ( sort keys %$branches ) { >- push @{ $authorised_values->{branches} }, { value => $thisbranch, lib => $branches->{$thisbranch}->{'branchname'} }; >+ push @{ $authorised_values->{branches} }, { value => $thisbranch, lib => $branches->{$thisbranch} }; > } > > $authorised_values->{itemtypes} = [ $schema->resultset( "Itemtype" )->search( undef, { >-- >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 17285
:
55508
|
55509
|
55510