Bugzilla – Attachment 55510 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]
Bug 17285: (15758 follow-up) Fix advanced editor
Bug-17285-15758-follow-up-Fix-advanced-editor.patch (text/plain), 1.30 KB, created by
Nick Clemens (kidclamp)
on 2016-09-12 16:18:53 UTC
(
hide
)
Description:
Bug 17285: (15758 follow-up) Fix advanced editor
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2016-09-12 16:18:53 UTC
Size:
1.30 KB
patch
obsolete
>From 050822590ca0bb0f0bd39975f93fce2882a94dc8 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] 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 > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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, { >-- >2.1.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