Bugzilla – Attachment 180205 Details for
Bug 39513
Correct OPAC subscription tables DataTable initialization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39513: Correct OPAC subscription tables DataTable initialization
Bug-39513-Correct-OPAC-subscription-tables-DataTab.patch (text/plain), 1.74 KB, created by
Owen Leonard
on 2025-04-01 14:35:45 UTC
(
hide
)
Description:
Bug 39513: Correct OPAC subscription tables DataTable initialization
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-01 14:35:45 UTC
Size:
1.74 KB
patch
obsolete
>From e5c6cdabe76f42903e4e8196a944dc0fc6e7918f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 1 Apr 2025 14:27:34 +0000 >Subject: [PATCH] Bug 39513: Correct OPAC subscription tables DataTable > initialization > >This patch corrects an error in the OPAC subscription tables DataTable >initialization which arose from merging of Bug 36553. The table should >be initialized by class (see Bug 35202). > >To test you should have a bibliographic record with multiple >subscriptions and items attached to each. > >- In the OPAC, view the detail page for that bibliographic record. >- View the Subscriptions tab. All subscription tables should be > sortable DataTables which follow the configuration set in staff client > Administration -> Table settings -> OPAC -> subscriptionst. >- Click another tab, e.g. Holdings. >- Click back to the Subscriptions tab. The tables should remain the > same: Sortable tables with no other DataTables controls. > >Sponsored-by: Athens County Public Libraries >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index f87c37056a8..8792eb39122 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1890,7 +1890,7 @@ > > var serial_table_settings = [% TablesSettings.GetTableSettings( 'opac', 'biblio-detail', 'subscriptionst', 'json' ) | $raw %]; > >- $("#subscriptionst").kohaTable( >+ $(".subscriptionst").kohaTable( > { > dom: '<"clearfix">t', > sorting: [[1, "desc"]], >-- >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 39513
:
180205
|
180207
|
180235