Bugzilla – Attachment 159564 Details for
Bug 35463
Link preservation module help to the manual
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35463: perltidy formatting corrections
Bug-35463-perltidy-formatting-corrections.patch (text/plain), 2.07 KB, created by
Caroline Cyr La Rose
on 2023-12-04 22:44:20 UTC
(
hide
)
Description:
Bug 35463: perltidy formatting corrections
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2023-12-04 22:44:20 UTC
Size:
2.07 KB
patch
obsolete
>From 2bf01b1377c8c004bc08e25a7f0ad850895e5479 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Mon, 4 Dec 2023 17:37:39 -0500 >Subject: [PATCH] Bug 35463: perltidy formatting corrections > >--- > Koha/Manual.pm | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/Koha/Manual.pm b/Koha/Manual.pm >index 64b4258370..9c33f4a504 100644 >--- a/Koha/Manual.pm >+++ b/Koha/Manual.pm >@@ -236,7 +236,7 @@ our $mapping = { > 'plugins/plugins-upload' => '/plugins.html', > 'preservation/home' => '/preservation.html', > 'preservation/settings/processings/add' => '/preservation.html#add-a-new-processing', >- 'preservation/settings/processings/edit/' => '/preservation.html#add-a-new-processing', >+ 'preservation/settings/processings/edit/' => '/preservation.html#add-a-new-processing', > 'preservation/settings' => '/preservation.html#settings', > 'preservation/settings/' => '/preservation.html#settings', > 'preservation/trains' => '/preservation.html#trains', >@@ -308,23 +308,23 @@ our $mapping = { > sub get_url { > my ( $url, $preferred_language ) = @_; > my $file; >- if ($url =~ /koha\/(.*)\.pl/ || $url =~ '/koha/(erm.*)' || $url =~ '/koha/(preservation.*)') { >+ if ( $url =~ /koha\/(.*)\.pl/ || $url =~ '/koha/(erm.*)' || $url =~ '/koha/(preservation.*)' ) { > $file = $1; > } else { > $file = 'mainpage'; > } > $file =~ s/[^a-zA-Z0-9_\-\/]*//g; > >- if ( $file =~ m|^erm| || $file =~ m|^preservation|) { >+ if ( $file =~ m|^erm| || $file =~ m|^preservation| ) { > $file =~ s|\d*+||g; > } > > my $view; >- if ($url =~ /(?:\?|\&)tab=(?<value>[\w+,.-]*)/) { >+ if ( $url =~ /(?:\?|\&)tab=(?<value>[\w+,.-]*)/ ) { > $view = $file . '#' . $+{value}; > } > >- my $base_url = _get_base_url( $preferred_language ); >+ my $base_url = _get_base_url($preferred_language); > return $base_url > . ( > exists $mapping->{$view} ? $mapping->{$view} >-- >2.34.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 35463
:
159456
|
159485
|
159563
|
159564
|
159582
|
159583
|
159584
|
159586
|
159644
|
159645
|
159646
|
159647
|
160013
|
160014
|
160015
|
160016