Bugzilla – Attachment 194186 Details for
Bug 41958
Rename BibTex to BibTeX (with a capital X) for the staff interface cart and list download options (to match the OPAC)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41958: Rename BibTeX cart and list download options in the staff interface
Bug-41958-Rename-BibTeX-cart-and-list-download-opt.patch (text/plain), 6.30 KB, created by
David Nind
on 2026-02-27 23:42:24 UTC
(
hide
)
Description:
Bug 41958: Rename BibTeX cart and list download options in the staff interface
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-02-27 23:42:24 UTC
Size:
6.30 KB
patch
obsolete
>From b96115628e2abb65da0ed2798e0aeeb8f9839dca Mon Sep 17 00:00:00 2001 >From: David Nind <david@davidnind.com> >Date: Fri, 27 Feb 2026 23:29:18 +0000 >Subject: [PATCH] Bug 41958: Rename BibTeX cart and list download options in > the staff interface > >This patch renames BibTex to BibTeX (with a capital X) for the staff interface >cart and list download options, to match the OPAC. > >Test plan: >1. Log in to the staff interface and search for a term that returns > results. >2. Add some records from the results to the cart (select records > > Add to cart). >3. Add some records from the results to a new public list (select > records > Add to list > New list > name the list > make it a > public list > Save). >4. Note the download options for the cart and the spelling: Cart > > Download > BibTexi (with a lowercase X). >5. Note the download options for lists and the spelling: Lists > > Public lists > select the list > Download list > BibTex (with a > lowercase X). >6. Go to the OPAC and search for a term that returns results. >7. Add some records from the results to the cart (select records > > Add to cart). >8. Note the download options for the cart and the spelling (with a > capital X): Cart > Download > BibTeX. >9. Note the download options for lists and the spelling (with a > capital X): Lists > Public lists > the name of your list > > Download > BibTeX. >10. Apply the patch. >11. Recheck the download options in steps 4 and 5. >12. The option should now show as BibTeX (with a capital X). > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt | 2 +- > .../prog/en/modules/virtualshelves/downloadshelf.tt | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >index f50f614dd6..3d06f082c0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >@@ -37,7 +37,7 @@ > <ul class="dropdown-menu"> > <li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&shelfid=[% shelf.shelfnumber | uri %]">iso2709</a></li> > <li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&shelfid=[% shelf.shelfnumber | uri %]">RIS</a></li> >- <li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&shelfid=[% shelf.shelfnumber | uri %]">BibTex</a></li> >+ <li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&shelfid=[% shelf.shelfnumber | uri %]">BibTeX</a></li> > [% FOREACH csv_profile IN csv_profiles %] > <li><a class="dropdown-item" href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id | uri %]&shelfid=[% shelf.shelfnumber | uri %]">CSV - [% csv_profile.profile | html %]</a></li> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index c8a76b2f96..f37f2d7766 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -55,7 +55,7 @@ > <ul class="dropdown-menu"> > <li><a class="dropdown-item" href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list | uri %]">iso2709</a></li> > <li><a class="dropdown-item" href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list | uri %]">RIS</a></li> >- <li><a class="dropdown-item" href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list | uri %]">BibTex</a></li> >+ <li><a class="dropdown-item" href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list | uri %]">BibTeX</a></li> > [% FOREACH csv_profile IN csv_profiles %] > <li><a class="dropdown-item" href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id | uri %]&bib_list=[% bib_list | uri %]">CSV - [% csv_profile.profile | html %]</a></li> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt >index 09fe80fc5c..47011e79cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/downloadcart.tt >@@ -23,7 +23,7 @@ > <option value="">-- Choose format --</option> > <option value="iso2709">MARC</option> > <option value="ris">RIS</option> >- <option value="bibtex">BibTex</option> >+ <option value="bibtex">BibTeX</option> > [% FOREACH csv_profile IN csv_profiles %] > <option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >index d0f9584492..b54a89f222 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt >@@ -38,7 +38,7 @@ > <option value="">-- Choose format --</option> > <option value="iso2709">MARC</option> > <option value="ris">RIS</option> >- <option value="bibtex">BibTex</option> >+ <option value="bibtex">BibTeX</option> > [% FOREACH csv_profile IN csv_profiles %] > <option value="[% csv_profile.export_format_id | html %]">CSV - [% csv_profile.profile | html %]</option> > [% END %] >-- >2.39.5
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 41958
: 194186