Bugzilla – Attachment 173691 Details for
Bug 38288
Provide openURL backwards compatibility with FreeForm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38288: Fallback to Standard if FreeForm
Bug-38288-Fallback-to-Standard-if-FreeForm.patch (text/plain), 1.20 KB, created by
David Nind
on 2024-10-29 21:29:13 UTC
(
hide
)
Description:
Bug 38288: Fallback to Standard if FreeForm
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-10-29 21:29:13 UTC
Size:
1.20 KB
patch
obsolete
>From faf1f9700f2af6e038c0127c77cc058dffec6484 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 29 Oct 2024 14:37:52 +0000 >Subject: [PATCH] Bug 38288: Fallback to Standard if FreeForm > >A regular openURL works fine: >http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?backend=Standard&title=Koha%20is%20cool&method=create&genre=article&openurl=1 > >Problem is existing third-party systems may be linking to Koha using FreeForm, not Standard > >Test plan: >1) Access the OPAC URL from above. >2) Notice it works. >3) Replace the word 'Standard' with 'FreeForm'. It no longer works. >4) Apply patch. Repeat. > >Signed-off-by: David Nind <david@davidnind.com> >--- > opac/opac-illrequests.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl >index 26be90a546..bb746547a3 100755 >--- a/opac/opac-illrequests.pl >+++ b/opac/opac-illrequests.pl >@@ -117,6 +117,7 @@ if ( $op eq 'list' ) { > backends => $req->available_backends > ); > } else { >+ $params->{backend} = 'Standard' if $params->{backend} eq 'FreeForm'; > my $request = Koha::ILL::Request->new > ->load_backend($params->{backend}); > >-- >2.39.5
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 38288
:
173658
|
173691
|
173751