Bugzilla – Attachment 166482 Details for
Bug 36824
Fix conversion of __VERSION__ in system preferences to use main rather than master
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36824: Fix conversion of __VERSION__ in system preferences to use main rather than master
Bug-36824-Fix-conversion-of-VERSION-in-system-pref.patch (text/plain), 1.27 KB, created by
Chris Cormack
on 2024-05-10 00:05:37 UTC
(
hide
)
Description:
Bug 36824: Fix conversion of __VERSION__ in system preferences to use main rather than master
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2024-05-10 00:05:37 UTC
Size:
1.27 KB
patch
obsolete
>From f2a7fa10eb542c57debb22f51e031b43c1b70873 Mon Sep 17 00:00:00 2001 >From: Phil Ringnalda <phil@chetcolibrary.org> >Date: Thu, 9 May 2024 16:31:56 -0700 >Subject: [PATCH] Bug 36824: Fix conversion of __VERSION__ in system > preferences to use main rather than master > >Test plan: >1. Administration > search system preferences for the words database columns >2. Click the links to schema.koha-community.org, note that they 404 with > /master/ in the URL >3. Apply patch, reset_all >4. Search again, click the links, note that they load successfully with /main/ > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > admin/preferences.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/preferences.pl b/admin/preferences.pl >index 63f495c7714..aba2492c355 100755 >--- a/admin/preferences.pl >+++ b/admin/preferences.pl >@@ -238,7 +238,7 @@ sub TransformPrefsToHTML { > if ( $minor % 2 ) { > $piece =~ s|__VERSION__|${major}_${minor}|g; > } else { >- $piece =~ s|__VERSION__|master|g; >+ $piece =~ s|__VERSION__|main|g; > } > } > push @chunks, { type_text => 1, contents => $piece }; >-- >2.39.2
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 36824
:
166480
|
166482
|
166533