[Koha-patches] [PATCH] Bug 9106 - Filtering list of uncertain price list by owner empties order information

Owen Leonard oleonard at myacpl.org
Mon Nov 19 17:01:34 CET 2012


The form which filters the list of orders with uncertain prices
includes a parameter which tells the script to modify the orders,
resulting in order information being lost. This patch removes
the unnecessary form field.

To test you must have orders with uncertain prices, preferably from
more than one user. Go to the uncertain prices page. Before applying
this patch, submitting the "orders from" form would cause the page
to refresh with no results. This is because the script cleared the
orders of price, quantity, etc. information.

After applying this patch the uncertain prices list should refresh
and show the correct results, either your orders ("me") or all
("Everyone").
---
 .../prog/en/modules/acqui/uncertainprice.tt        |    1 -
 1 file changed, 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt
index 0902d07..1b1f070 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt
@@ -68,7 +68,6 @@ function check(form) {
         <h2>Orders with uncertain prices</h2>
         <form action="[% scriptname %]" method="post" name="uncertainprices">
         <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
-        <input type="hidden" name="op" value="validate" />
         Orders from:
         <select name="owner">
             [% IF ( owner ) %]
-- 
1.7.9.5


More information about the Koha-patches mailing list