Bug 31564: Pass start label in PDF link
To test: 1 - Tools->Lbel creator 2 - Make a new batch 3 - Add an item 4 - Click 'export' on the single item 5 - Enter a starting label position greater than 1 6 - Click Export 7 - Click Download as PDF 8 - Note label in 1st position 9 - Apply patch 10 - Repeat and note label position now honored Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit0c3f50d157) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit03a127afbd) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
e5458fe73e
commit
4fb1f11ea4
|
|
@ -21,7 +21,7 @@
|
|||
<fieldset>
|
||||
[% IF ( batche.label_ids ) %]
|
||||
<legend>[% IF ( batche.label_count == 1 ) %][% batche.label_count | html %] single label[% ELSE %][% batche.label_count | html %] single labels[% END %]</legend>
|
||||
<a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as PDF</a>
|
||||
<a class="document pdf" href="/cgi-bin/koha/labels/label-create-pdf.pl?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %]&start_label=[% batche.start_label | html %][% batche.label_ids | html %]">Download as PDF</a>
|
||||
|
||||
<p><a class="document csv" href="/cgi-bin/koha/labels/label-create-csv.pl?batch_id=[% batche.batch_id | html %]&template_id=[% batche.template_id | html %]&layout_id=[% batche.layout_id | html %][% batche.label_ids | html %]">Download as CSV</a></p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue