From c26e90e789d4787f00c3f142e7f281e9b5022ca0 Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@biblibre.com>
Date: Mon, 1 Jul 2013 16:27:32 +0200
Subject: [PATCH] Bug 5336: QA followup

- fix capitalization
- fix update database message
---
 installer/data/mysql/updatedatabase.pl                      |    2 +-
 koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index eae36fa..8cca550 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -7022,7 +7022,7 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
     $dbh->do("UPDATE aqorders SET orderstatus=2 WHERE quantity > quantityreceived AND quantityreceived > 0");
     $dbh->do("UPDATE aqorders SET orderstatus=3 WHERE quantity=quantityreceived");
     $dbh->do("UPDATE aqorders SET orderstatus=4 WHERE datecancellationprinted IS NOT NULL");
-    print "Upgrade to $DBversion done (Add category ORDRSTATUS values in authorised_values table)\n";
+    print "Upgrade to $DBversion done (Bug 5336: Add the new column aqorders.orderstatus)\n";
     SetVersion($DBversion);
 }
 
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt
index 062b8b0..811d88a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt
@@ -34,7 +34,7 @@
 	
 [% UNLESS ( order_loop ) %]<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
 <fieldset class="rows">
-	<legend>Search Orders</legend>
+    <legend>Search orders</legend>
 		<ol>
 		<li><label for="title">Title: </label> <input type="text" name="title" id="title" value="[% title %]" /></li>
 		<li><label for="author">Author: </label> <input type="text" name="author" id="author" value="[% author %]" /></li>
@@ -51,7 +51,7 @@
         </li>
 
         <li>
-            <label for="orderstatus">Order Status: </label>
+            <label for="orderstatus">Order status: </label>
             <select name="orderstatus" id="orderstatus">
                 <option value=""></option>
                 <option value="0">New</option>
-- 
1.7.10.4