Bugzilla – Attachment 59508 Details for
Bug 17981
Add the ability to preview generated notice templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17981: Move svc/letters to svc/letters/get
Bug-17981-Move-svcletters-to-svclettersget.patch (text/plain), 1.77 KB, created by
Jonathan Druart
on 2017-01-24 15:34:59 UTC
(
hide
)
Description:
Bug 17981: Move svc/letters to svc/letters/get
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-01-24 15:34:59 UTC
Size:
1.77 KB
patch
obsolete
>From f3788c09bc9917de2159ccdc7b702258e0381f0d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 24 Jan 2017 10:09:26 +0100 >Subject: [PATCH] Bug 17981: Move svc/letters to svc/letters/get > >To allow another script under svc/letters >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 2 +- > svc/{letters => letters/get} | 6 +++--- > 2 files changed, 4 insertions(+), 4 deletions(-) > rename svc/{letters => letters/get} (93%) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >index 441b0ed..9c072be 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >@@ -74,7 +74,7 @@ $(document).ready(function() { > $.ajax({ > data: { code: new_lettercode, branchcode: new_branchcode }, > type: 'GET', >- url: '/cgi-bin/koha/svc/letters/', >+ url: '/cgi-bin/koha/svc/letters/get/', > success: function (data) { > if ( data.letters.length > 0 ) { > if( new_branchcode == '' ) { >diff --git a/svc/letters b/svc/letters/get >similarity index 93% >rename from svc/letters >rename to svc/letters/get >index cfb77e7..b6b6bdb 100755 >--- a/svc/letters >+++ b/svc/letters/get >@@ -24,11 +24,11 @@ use C4::Letters qw( GetLetters ); > > =head1 NAME > >-svc/letters - Web service for getting letters >+svc/letters/get - Web service for getting letters > > =head1 SYNOPSIS > >- GET /svc/letters >+ GET /svc/letters/get > > =head1 DESCRIPTION > >@@ -42,7 +42,7 @@ For the moment, this service is only used to get a letter from a letter code. > > =over 4 > >-GET /svc/letters/$code >+GET /svc/letters/get/$code > > =back > >-- >2.1.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 17981
:
59508
|
59509
|
59510
|
59514
|
59524
|
63978
|
63979
|
63980
|
63981
|
63982
|
65688
|
65689
|
65690
|
65701
|
65702
|
65703
|
65704
|
65705
|
67144
|
67145
|
67146
|
67147
|
67148
|
67152
|
70300
|
70301
|
70302
|
70303
|
70304
|
70305
|
73201
|
73202
|
73203
|
73204
|
73205
|
73206
|
73949
|
73950
|
73951
|
73952
|
74025
|
74027
|
74028
|
74029
|
74030
|
74031
|
74032
|
74033
|
74034