Bugzilla – Attachment 16295 Details for
Bug 9117
Reports hierarchies management improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9117 [Follow-up] Fix group and subgroup filtering
PASSED-QA-Bug-9117-Follow-up-Fix-group-and-subgrou.patch (text/plain), 1.76 KB, created by
Katrin Fischer
on 2013-03-18 16:53:08 UTC
(
hide
)
Description:
[PASSED QA] Bug 9117 [Follow-up] Fix group and subgroup filtering
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-18 16:53:08 UTC
Size:
1.76 KB
patch
obsolete
>From d98187bab0486c9ec336098f637270f268a10ccd Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 18 Mar 2013 15:40:02 +0000 >Subject: [PATCH] [PASSED QA] Bug 9117 [Follow-up] Fix group and subgroup > filtering > >When a group code is contained in another group code (e.g. 'COD' and >'CODE'), filtering on the longest ('CODE') include reports of the >smallest ('COD'). >Same problem for the subgroups. >This patch fixes this. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > .../en/modules/reports/guided_reports_start.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index e542b85..855fc36 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -95,7 +95,7 @@ $(document).ready(function(){ > var g_id = $(ui.tab).attr('id') > var g_name = $(ui.tab).text(); > if (g_id && g_id.length > 0) { >- rtable.fnFilter(g_name, 3); >+ rtable.fnFilter('^' + g_name + '$', 3, true, true, true, false); > rtable.fnSetColumnVis(3, false); > for(var i in group_subgroups[g_id]) { > $("#subgroup_filter").append( >@@ -115,7 +115,7 @@ $(document).ready(function(){ > var sg_id = $(selected).val(); > var sg_name = $(selected).text(); > if (sg_id.length > 0) { >- rtable.fnFilter(sg_name, 4); >+ rtable.fnFilter('^' + sg_name + '$', 4, true, true, true, false); > rtable.fnSetColumnVis(4, false); > } else { > rtable.fnFilter('', 4); >-- >1.7.9.5
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 9117
:
13560
|
13578
|
13597
|
13627
|
13628
|
13931
|
14668
|
14669
|
14670
|
16241
|
16244
|
16246
|
16270
|
16271
|
16282
|
16283
|
16284
|
16285
|
16286
|
16287
|
16288
|
16290
|
16292
|
16293
|
16294
| 16295 |
16296
|
16653