Bugzilla – Attachment 169962 Details for
Bug 37496
Link to item details from holdings table links to all items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37496: Restore parameter to limit to details of one item
Bug-37496-Restore-parameter-to-limit-to-details-of.patch (text/plain), 1.85 KB, created by
Nick Clemens (kidclamp)
on 2024-08-01 18:43:16 UTC
(
hide
)
Description:
Bug 37496: Restore parameter to limit to details of one item
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-08-01 18:43:16 UTC
Size:
1.85 KB
patch
obsolete
>From cf1daf32a82fff2aa16de889dfcdd4ae96e6054f Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Fri, 26 Jul 2024 11:36:22 -0400 >Subject: [PATCH] Bug 37496: Restore parameter to limit to details of one item > >To test: >1. Find a bib record with more than one item >2. Click on the barcode of an item to show the item details page >--> The item details page shows the details of all items, though it does > jump to the correct item >3. Apply patch >4. Reload the bib record, and click the barcode again >--> The item details page shows only the chosen item, with a link above > to show all items > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > .../en/includes/html_helpers/tables/items/catalogue_detail.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >index 191fc386ff1..c1771d0cfb6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc >@@ -613,7 +613,7 @@ > orderable: true, > render: function (data, type, row, meta) { > if ( row.external_id != null ) { >- return '<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=%s#item%s">%s</a>'.format(row.biblio_id, row.item_id, row.external_id); >+ return '<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=%s&itemnumber=%s#item%s">%s</a>'.format(row.biblio_id, row.item_id, row.item_id, row.external_id); > } > return ''; > } >-- >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 37496
:
169752
|
169762
| 169962