Bugzilla – Attachment 60538 Details for
Bug 7520
JSON script to return advanced search types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug_7520 Added helper "syspref" to Mojolicious handlers
bug7520-Added-helper-syspref-to-Mojolicious-handle.patch (text/plain), 618 bytes, created by
Srdjan Jankovic
on 2017-02-22 00:48:55 UTC
(
hide
)
Description:
bug_7520 Added helper "syspref" to Mojolicious handlers
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2017-02-22 00:48:55 UTC
Size:
618 bytes
patch
obsolete
>From c1c1c5eddbc157d946e3d6493cf28808caa8e71f Mon Sep 17 00:00:00 2001 >From: Srdjan <srdjan@catalyst.net.nz> >Date: Tue, 2 Aug 2016 13:37:56 +1200 >Subject: [PATCH] bug_7520 Added helper "syspref" to Mojolicious handlers > >--- > Koha/REST/V1.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/Koha/REST/V1.pm b/Koha/REST/V1.pm >index e307552..ad2110a 100644 >--- a/Koha/REST/V1.pm >+++ b/Koha/REST/V1.pm >@@ -56,6 +56,8 @@ sub startup { > validate => 1, > spec_path => '/spec' > }); >+ >+ $self->helper(syspref => sub { C4::Context->preference($_[1]) }); > } > > =head3 authenticate_api_request >-- >2.7.4
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 7520
:
7556
|
7605
|
7606
|
7611
|
7613
|
53865
|
53867
| 60538 |
60539