Bugzilla – Attachment 170185 Details for
Bug 36707
Links on itemnumbers in report should say "item" instead of "record"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36707: Links on itemnumbers in report should say "item", not "record"
Bug-36707-Links-on-itemnumbers-in-report-should-sa.patch (text/plain), 3.05 KB, created by
Owen Leonard
on 2024-08-09 12:54:37 UTC
(
hide
)
Description:
Bug 36707: Links on itemnumbers in report should say "item", not "record"
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-08-09 12:54:37 UTC
Size:
3.05 KB
patch
obsolete
>From 18f0a0f477efbe5a49490ec6bbbaf534646d2208 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 9 Aug 2024 12:49:55 +0000 >Subject: [PATCH] Bug 36707: Links on itemnumbers in report should say "item", > not "record" > >This patch changes the labels on SQL report result links so that the >term "item" is used for editing or viewing an item. > >To test, apply the patch and go to Reports -> Saved reports > >- If necessary, create a report which will return biblionumbers and > itemnumbers, e.g. > > SELECT itemnumber, biblionumber FROM items LIMIT 20 > >- Save and run the report. In the results, test the menus which can be > triggered by clicking a biblionumber or itemnumber. > - A biblionumber's menu should have "Edit record" and "View record." > - An itemnumber's menu should have "Edit item" and "View item." > >Sponsored-by: Athens County Public Libraries >--- > .../prog/en/modules/reports/guided_reports_start.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 9dd38ba53b..fd745a42bc 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -1186,9 +1186,9 @@ > <span class="data-plain">[% cells.cell | $raw %]</span> > <div id="itemnumber_autolink" class="btn-group dropup autolink"><a class="btn btn-link dropdown-toggle" role="button" data-toggle="dropdown" href="#">[% cells.cell | $raw %] <b class="caret"></b></a> > <ul class="dropdown-menu pull-right" role="menu"> >- <li><a target="_blank" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&itemnumber=[% cells.cell | $raw %]"><i class="fa-fw fa-solid fa-pencil" aria-hidden="true"></i> Edit record</a></li> >+ <li><a target="_blank" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&itemnumber=[% cells.cell | $raw %]"><i class="fa-fw fa-solid fa-pencil" aria-hidden="true"></i> Edit item</a></li> > <li role="separator" class="divider"></li> >- <li><a target="_blank" href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-eye"></i> View record</a></li> >+ <li><a target="_blank" href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% cells.cell | $raw %]"><i class="fa fa-fw fa-eye"></i> View item</a></li> > </ul> > </div> > </td> >-- >2.39.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 36707
:
170185
|
170215
|
170431