]> git.koha-community.org Git - koha.git/commit
Bug 12980: GetHistory does useless processing
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 23 Sep 2014 11:02:51 +0000 (13:02 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 3 Dec 2014 14:42:48 +0000 (11:42 -0300)
commit46e3f8169c026ed9037f38669c5742e912326339
treeb8d13c33cabd9509510d0419bfabb8bba850cf31
parentb449b08d91c536c3ec8a4b87e6c14d460f59878a
Bug 12980: GetHistory does useless processing

GetHistory iterated on the orders to calculate the quantity and price.
These values are never used by the called.
It can be removed.

Test plan:
Verify there is no regression on acqui/histsearch.pl and
catalogue/detail.pl
Actually you just have to check that the total quantity and price are
not displayed on these views.

QA: note that 'count' and 'toggle' are never used in the template.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Acquisition.pm
acqui/histsearch.pl
catalogue/detail.pl
t/db_dependent/Acquisition.t