Bugzilla – Attachment 27815 Details for
Bug 11578
Improvement of the funds list view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11578: FIX funds grouping
Bug-11578-FIX-funds-grouping.patch (text/plain), 2.14 KB, created by
Jonathan Druart
on 2014-04-30 10:21:50 UTC
(
hide
)
Description:
Bug 11578: FIX funds grouping
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-04-30 10:21:50 UTC
Size:
2.14 KB
patch
obsolete
>From 42d1c4b2e3602d8e5733cd91a0dfac628833d844 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 30 Apr 2014 12:12:07 +0200 >Subject: [PATCH] Bug 11578: FIX funds grouping > >The datatables sort options were wrong. >The funds for a budget could be ungrouped. >To reproduce: >- Create 3 budgets A, B, C. >- Create 1 or more funds for A, B, C >- Mark B and C as inactive. >- Create another fund for A >- Go on the fund list view, click on "show inactive funds" >=> The last fund is not grouped without other funds of budget A. > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >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 b845d26..c793173 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -180,11 +180,11 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") > } > }, > "aoColumnDefs": [ >- { "bVisible": false, "aTargets": [ 0, 1 ] } >+ { "bVisible": false, "aTargets": [ 0, 1 ] }, >+ { "bSortable": false, "aTargets": ["_all"] } > ], >- "aaSortingFixed": [[ 1, 'asc' ]], >- "aaSorting": [[ 2, 'asc' ]], >- 'bSort': false, >+ 'bSort': true, >+ 'aaSortingFixed': [[ 1, 'asc' ]], > 'bPaginate': false, > "bAutoWidth": false > })); >@@ -313,7 +313,7 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") > <tr data-tt-id="[% budget.budget_id %]"> > [% END %] > <td>[% budget.budget_period_active %]</td> >- <td>Budget [% budget.budget_period_description %]</td> >+ <td>Budget [% budget.budget_period_description %][% UNLESS budget.budget_period_active %] (inactive)[% END %]</td> > <td>[% budget.budget_code_indent %]</td> > <td>[% budget.budget_name %]</td> > <td class="data"> >-- >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 11578
:
24505
|
24506
|
24507
|
24508
|
25175
|
25245
|
25246
|
26243
|
26244
|
26245
|
26246
|
26247
|
27404
|
27706
|
27707
|
27708
|
27709
|
27710
|
27736
|
27754
|
27755
|
27763
|
27764
|
27765
|
27766
|
27767
|
27768
|
27769
|
27813
|
27814
| 27815 |
27816