Bugzilla – Attachment 166577 Details for
Bug 33737
Add bookings to patron details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33737: (QA follow-up) Add missing column configuration
Bug-33737-QA-follow-up-Add-missing-column-configur.patch (text/plain), 2.90 KB, created by
Martin Renvoize (ashimema)
on 2024-05-10 14:59:19 UTC
(
hide
)
Description:
Bug 33737: (QA follow-up) Add missing column configuration
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-10 14:59:19 UTC
Size:
2.90 KB
patch
obsolete
>From ad522d469626a2caff48dbf53efdd795a27ca8e2 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 10 May 2024 15:58:37 +0100 >Subject: [PATCH] Bug 33737: (QA follow-up) Add missing column configuration > >I somehow missed commiting the column configuration bits. >--- > admin/columns_settings.yml | 17 +++++++++++++++++ > .../prog/en/modules/members/moremember.tt | 4 ++-- > 2 files changed, 19 insertions(+), 2 deletions(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index a745675e465..41cfe87edbb 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1190,6 +1190,23 @@ modules: > - > columnname: status > >+ bookings-table: >+ columns: >+ - >+ columnname: booking_id >+ is_hidden: 1 >+ - >+ columnname: title >+ - >+ columnname: item >+ - >+ columnname: start_date >+ - >+ columnname: end_date >+ - >+ columnname: actions >+ cannot_be_toggled: 0 >+ > relatives-issues-table: > columns: > - >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 7ddd578fd8c..05e68770d15 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -758,6 +758,7 @@ > table_settings_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'issues-table', 'json' ) | $raw %] > table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %] > table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %] >+ table_settings_bookings_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'bookings-table', 'json' ) | $raw %] > > var bookings_table; > $(document).ready(function() { >@@ -796,7 +797,6 @@ > "columns": [{ > "data": "booking_id", > "title": _("Booking ID"), >- "visible": false > }, > { > "data": "biblio.title", >@@ -855,7 +855,7 @@ > return result; > } > }] >- }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } }); >+ }, table_settings_bookings_table, 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } }); > }; > }); > }); >-- >2.45.0
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 33737
:
161045
|
161046
|
161047
|
162253
|
162254
|
162255
|
162256
|
163557
|
164994
|
164995
|
164996
|
164997
|
166513
|
166514
|
166515
|
166516
|
166565
|
166566
|
166567
|
166568
|
166570
|
166573
| 166577