Bugzilla – Attachment 184927 Details for
Bug 38311
DataTables - Simplify the building of the dropdown list filters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38311: wip Vue
Bug-38311-wip-Vue.patch (text/plain), 2.00 KB, created by
Jonathan Druart
on 2025-07-31 13:48:05 UTC
(
hide
)
Description:
Bug 38311: wip Vue
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-07-31 13:48:05 UTC
Size:
2.00 KB
patch
obsolete
>From 3c970172db8a871e88c7f4cb00a00b3f1d7bbfd3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 31 Jul 2025 15:43:36 +0200 >Subject: [PATCH] Bug 38311: wip Vue > >--- > .../js/vue/components/ERM/AgreementResource.vue | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementResource.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementResource.vue >index 52ac14d708a..8186eba080f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementResource.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementResource.vue >@@ -653,23 +653,24 @@ export default { > table_settings: agreement_table_settings, > add_filters: true, > filters_options: { >- 2: [ >+ vendors: [ > ...vendors.value.map(e => { > e["_id"] = e["id"]; > e["_str"] = e["name"]; > return e; > }), > ], >- 4: () => baseResource.map_av_dt_filter("av_agreement_statuses"), >- 5: () => >- baseResource.map_av_dt_filter( >- "av_agreement_closure_reasons" >- ), >- 6: [ >+ av_agreement_statuses: baseResource.map_av_dt_filter( >+ "av_agreement_statuses" >+ ), >+ av_agreement_closure_reasons: baseResource.map_av_dt_filter( >+ "av_agreement_closure_reasons" >+ ), >+ is_perpetual: [ > { _id: 0, _str: $__("No") }, > { _id: 1, _str: $__("Yes") }, > ], >- 7: () => >+ av_agreement_renewal_priorities: () => > baseResource.map_av_dt_filter( > "av_agreement_renewal_priorities" > ), >-- >2.34.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 38311
:
184926
|
184927
|
186209
|
187376
|
187377
|
188314
|
188468
|
188469