Bug 2780 [FOLLOW-UP] Capitalize strings consistently
authorOwen Leonard <oleonard@myacpl.org>
Tue, 10 Apr 2012 19:43:48 +0000 (15:43 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 11 Apr 2012 07:34:27 +0000 (09:34 +0200)
Changes to the case of some hidden input values prevented
the user from being able to save a new SQL report.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
passes tests, can now save sql reports.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt

index ba52f1c..f516f8a 100644 (file)
@@ -117,7 +117,7 @@ canned reports and writing custom SQL reports.</p>
 <h3>Reports Dictionary</h3>
 <p>Use the reports dictionary to define custom criteria to use in your reports</p>
 <form action="/cgi-bin/koha/reports/dictionary.pl">
-<input type="hidden" name="phase" value="View dictionary"/>
+<input type="hidden" name="phase" value="View Dictionary"/>
 <input type="submit" name="submit" value="View dictionary"/>
 </form>
 [% END %]
@@ -475,8 +475,8 @@ canned reports and writing custom SQL reports.</p>
     <li><label for="reportname">Report name: </label><input type="text" id="reportname" name="reportname" /></li>
     <li><label for="notes">Notes:</label> <textarea name="notes" id="notes"></textarea></li>
 </ol></fieldset>
-<fieldset class="action"><input type="hidden" name="phase" value="Save report" />
-<input type="submit" name="submit" value="Save report" /></fieldset>
+<fieldset class="action"><input type="hidden" name="phase" value="Save Report" />
+<input type="submit" name="submit" value="Save Report" /></fieldset>
 </form>
 [% END %]
 
@@ -562,7 +562,7 @@ canned reports and writing custom SQL reports.</p>
 </div>
 </fieldset>
 
-<fieldset class="action"><input type="hidden" name="phase" value="Save report" />
+<fieldset class="action"><input type="hidden" name="phase" value="Save Report" />
 <input type="submit" name="submit" value="Save Report" /> <a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved" class="cancel">Cancel</a>
 </fieldset>
 </form>
@@ -582,7 +582,7 @@ Sub report:<select name="subreport">
 [% END %]
 </select>
 <br />
-<input type="hidden" name="phase" value="Save compound" />
+<input type="hidden" name="phase" value="Save Compound" />
 <input type="submit" name="submit" value="Save compound" />
 </form>
 [% END %]