[Koha-patches] [PATCH] [3.0.x] (bug #3149) bug in url
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Thu Apr 23 14:49:40 CEST 2009
at the moment the generated link use the "syspref" format to send the date, but the orderreceive.pl script is waiting for a iso formatted date.
This patch make it using an iso date in all cases.
---
.../prog/en/modules/acqui/orderreceive.tmpl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl
index 50d1d26..02ffb4c 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl
@@ -149,7 +149,7 @@ fieldset.rows .itemblock fieldset.action { padding:.5em; }
<tr>
<td><!-- TMPL_VAR NAME="basketno" --></td>
<td><!-- TMPL_VAR NAME="isbn" --></td>
- <td><a href="orderreceive.pl?datereceived=<!-- TMPL_VAR NAME="datereceived" -->&receive=<!-- TMPL_VAR NAME="ordernumber" -->&biblio=<!-- TMPL_VAR NAME="biblionumber" -->&invoice=<!-- TMPL_VAR NAME="invoice" -->&freight=<!-- TMPL_VAR NAME="freight" -->&gst=<!-- TMPL_VAR NAME="gst" -->&id=<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="title" --></a></td>
+ <td><a href="orderreceive.pl?datereceived=<!-- TMPL_VAR NAME="datereceived_iso" -->&receive=<!-- TMPL_VAR NAME="ordernumber" -->&biblio=<!-- TMPL_VAR NAME="biblionumber" -->&invoice=<!-- TMPL_VAR NAME="invoice" -->&freight=<!-- TMPL_VAR NAME="freight" -->&gst=<!-- TMPL_VAR NAME="gst" -->&id=<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="title" --></a></td>
<td><!-- TMPL_VAR NAME="author" --></td>
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="quantityreceived" --></td>
--
1.5.6.3
More information about the Koha-patches
mailing list