Bugzilla – Attachment 116795 Details for
Bug 27680
API DataTables Wrapper fails for ordering on multi-data-field columns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27680: [DO NOT PUSH] Example patch on cities
Bug-27680-DO-NOT-PUSH-Example-patch-on-cities.patch (text/plain), 1.47 KB, created by
Jonathan Druart
on 2021-02-12 09:54:33 UTC
(
hide
)
Description:
Bug 27680: [DO NOT PUSH] Example patch on cities
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-02-12 09:54:33 UTC
Size:
1.47 KB
patch
obsolete
>From a8d467ede5d5df0b0b6287e4ffe1da33a76d9a21 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 12 Feb 2021 10:54:04 +0100 >Subject: [PATCH] Bug 27680: [DO NOT PUSH] Example patch on cities > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >index e95e817f7a..7d972b0cc7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >@@ -140,6 +140,7 @@ > <tr> > <th>City ID</th> > <th>City</th> >+ <th>City/State</th> > <th>State</th> > <th>ZIP/Postal code</th> > <th>Country</th> >@@ -206,6 +207,14 @@ > "searchable": true, > "orderable": true > }, >+ { >+ "data": "name:state", >+ "searchable": true, >+ "orderable": true, >+ "render": function(data, type, row, meta) { >+ return row.name + " " + row.state; >+ } >+ }, > { > "data": "state", > "searchable": true, >-- >2.20.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 27680
:
116794
|
116795
|
116796
|
116829
|
116831
|
116832
|
116833
|
116834
|
116843
|
116844
|
116845
|
116846
|
117335
|
117336
|
117337
|
117338
|
117339
|
117340
|
117341
|
117375
|
117388
|
117389
|
117390
|
117391
|
117392
|
117393
|
117394
|
117438
|
117439
|
117440
|
117441
|
117442
|
117476