Bugzilla – Attachment 108126 Details for
Bug 26149
Remove jquery.checkboxes plugin from problem reports page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26194: (follow-up) Default to current branch
Bug-26194-follow-up-Default-to-current-branch.patch (text/plain), 1.90 KB, created by
Martin Renvoize (ashimema)
on 2020-08-12 15:09:14 UTC
(
hide
)
Description:
Bug 26194: (follow-up) Default to current branch
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-08-12 15:09:14 UTC
Size:
1.90 KB
patch
obsolete
>From cac5f81f116eb2bc6af90b3f52d12041c43dd442 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 12 Aug 2020 16:07:05 +0100 >Subject: [PATCH] Bug 26194: (follow-up) Default to current branch > >When adding a new register, it would be helpful to default to the >current logged in branch. > >https://bugs.koha-community.org/show_bug.cgi?id=26149 >--- > .../intranet-tmpl/prog/en/modules/admin/cash_registers.tt | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt >index 3d9b8b7aa6..97c10e56dc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt >@@ -86,12 +86,10 @@ > <li> > <label for="branch">Library: </label> > <select id="branch" name="branch"> >- [% FOREACH branch IN branch_list %] >- [% IF cash_register.branch == branch.branchcode %] >- <option value="[% branch.branchcode | html %]" selected="1">[% branch.branchname | html %]</option> >+ [% IF cash_register %] >+ [% PROCESS options_for_libraries libraries => Branches.all( selected => cash_register.branch ) %] > [% ELSE %] >- <option value="[% branch.branchcode | html %]">[% branch.branchname | html %]</option> >- [% END %] >+ [% PROCESS options_for_libraries libraries => Branches.all() %] > [% END %] > </select> > </li> >-- >2.20.1
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 26149
:
107849
|
108125
|
108126
|
108129
|
108312