Bugzilla – Attachment 2163 Details for
Bug 4810
parcel.pl: Fix a bug with applying a filter on pending orders displaying
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
parcel.pl: Fix a bug with applying a filter on pending orders displaying
0001-BUG-4810-parcel.pl-Fix-a-bug-with-applying-a-filter-.patch (text/plain), 1.97 KB, created by
Alex Arnaud
on 2010-05-25 08:48:11 UTC
(
hide
)
Description:
parcel.pl: Fix a bug with applying a filter on pending orders displaying
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2010-05-25 08:48:11 UTC
Size:
1.97 KB
patch
obsolete
>From b31b51ca14cd705bc2ea87b9e3642ba0b49d2a19 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 25 May 2010 10:45:51 +0200 >Subject: [PATCH] (BUG #4810) parcel.pl: Fix a bug with applying a filter on pending orders displaying > >When we apply a filter and click on "Click here to show x items" link, there are duplicates orders which are display. >--- > .../prog/en/modules/acqui/parcel.tmpl | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl >index 93422c2..9f7f11e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl >@@ -31,6 +31,7 @@ > // Collapse pending items table > function pendingCollapse() { > $("#pendingcollapserow").remove(); >+ $("#pendingt tr").show(); > $("#pendingt tbody.filterclass tr:gt(" + (rowsToCollapse-1) + ")").hide(); > $("#pendingt").before("<p id=\"pendingcollapserow\">" + _("Only the first ") + rowsToCollapse + _(" items are displayed.") + "<a href=\"javascript:pendingExpand();\">" + _("Click here to show all ") + rowCountPending + _(" items") + "<\/a>.<\/p>"); > >@@ -40,6 +41,7 @@ > function pendingExpand() { > $("#pendingcollapserow").remove(); > $("#pendingt tr").show(); >+ $("#pendingt tbody.filterclass tr.orderfound").remove(); > $("#pendingt").before("<p id=\"pendingcollapserow\">" + rowCountPending + _(" items are displayed.") + "<a href=\"javascript:pendingCollapse();\">" + _("Click here to show only the first ") + rowsToCollapse + _(" items") + "<\/a>.<\/p>"); > } > >@@ -114,7 +116,7 @@ > function clearFilters() { > $("#nothingfoundrow").remove(); > $("#pendingt tbody.filterclass tr").show(); >- $("#pendingt tbody.filterclass tr.orderfound").remove(); >+ //$("#pendingt tbody.filterclass tr.orderfound").remove(); > pendingExpand(); > } > >-- >1.6.3.3 >
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 4810
: 2163