Bugzilla – Attachment 140633 Details for
Bug 31564
Pass start label when exporting single label as PDF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31564: Pass start label in PDF link
Bug-31564-Pass-start-label-in-PDF-link.patch (text/plain), 2.17 KB, created by
Nick Clemens (kidclamp)
on 2022-09-14 13:27:13 UTC
(
hide
)
Description:
Bug 31564: Pass start label in PDF link
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-09-14 13:27:13 UTC
Size:
2.17 KB
patch
obsolete
>From 76ddfcc5fcacad34584b276c5a15852453f43822 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 14 Sep 2022 13:23:58 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >index d2aed0b909..4e9e631e7d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-print.tt >@@ -22,7 +22,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 %][% 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> > >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31564
:
140632
|
140633
|
140634