Bugzilla – Attachment 181825 Details for
Bug 38395
Title is not displayed in hold history when bibliographic record is deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38395: Only embed deleted_biblios for old holds
Bug-38395-Only-embed-deletedbiblios-for-old-holds.patch (text/plain), 1.67 KB, created by
Matt Blenkinsop
on 2025-05-01 09:55:58 UTC
(
hide
)
Description:
Bug 38395: Only embed deleted_biblios for old holds
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-05-01 09:55:58 UTC
Size:
1.67 KB
patch
obsolete
>From 0c335528318ca6401545dc1cbfdbe2ec45b0337c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 23 Apr 2025 15:02:59 +0000 >Subject: [PATCH] Bug 38395: Only embed deleted_biblios for old holds > >Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >--- > .../intranet-tmpl/prog/en/modules/members/holdshistory.tt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >index 57d9ff16dde..970bd4d4ad8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >@@ -201,13 +201,17 @@ > }; > > let table_url = '/api/v1/patrons/[% patron.borrowernumber | uri %]/holds'; >- if (old){table_url += '?old=1'} >+ let table_embeds = ['biblio', 'item', 'pickup_library', 'pickup_library.branchname']; >+ if (old){ >+ table_url += '?old=1'; >+ table_embeds.push('deleted_biblio'); >+ } > return $(table_id).kohaTable({ > ajax: { > url: table_url, > }, > order: [], >- embed: ['biblio', 'deleted_biblio', 'item', 'pickup_library', 'pickup_library.branchname'], >+ embed: table_embeds, > columns: [ > { > data: "biblio.title:biblio.subtitle:biblio.medium", >-- >2.48.1
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 38395
:
181373
|
181380
|
181388
|
181397
|
181824
| 181825