Bugzilla – Attachment 107564 Details for
Bug 25887
Filtering funds by library resets to empty in library pull down
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25887: Keep library filter on the fund list view
Bug-25887-Keep-library-filter-on-the-fund-list-vie.patch (text/plain), 1.64 KB, created by
Jonathan Druart
on 2020-07-30 09:00:39 UTC
(
hide
)
Description:
Bug 25887: Keep library filter on the fund list view
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-07-30 09:00:39 UTC
Size:
1.64 KB
patch
obsolete
>From dbf123d45a1f4fe3463cdf47f62d49a2676acfe5 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 30 Jul 2020 10:57:53 +0200 >Subject: [PATCH] Bug 25887: Keep library filter on the fund list view > >The problem: >When filtering funds by library, the pull down for libraries resets to "empty" when the page is reloaded, >although the filter criteria is visible in the URL. > >Test plan: >Create a fund for library A >Create a fund for library B >Go to the fund list view >=> All funds are listed >Select library A in the library filter, click "Go" >=> Funds for library A are listed >=> Library filter has "library A" selected >Edit fund for library B >=> The edit form has "library B" selected >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index a520427f43..ce88e2865c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -407,7 +407,7 @@ > <label for="filter_budgetbranch2">Library: </label> > <select name="filter_budgetbranch" id="filter_budgetbranch2"> > <option value=""></option> >- [% PROCESS options_for_libraries libraries => Branches.all( selected => budget_branchcode, unfiltered => 1 ) %] >+ [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %] > </select> > </li> > <li class="radio"> >-- >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 25887
:
107564
|
107594
|
107606