Bugzilla – Attachment 37983 Details for
Bug 10480
Improvements for framework plugins in cataloguing/item editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10480: (QA followup) hide the EXAMPLE.pl plugin
Bug-10480-QA-followup-hide-the-EXAMPLEpl-plugin.patch (text/plain), 1.76 KB, created by
Tomás Cohen Arazi
on 2015-04-16 18:27:50 UTC
(
hide
)
Description:
Bug 10480: (QA followup) hide the EXAMPLE.pl plugin
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2015-04-16 18:27:50 UTC
Size:
1.76 KB
patch
obsolete
>From 2292bff781305dc8a16328c43394fb2c3aaa34f6 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 16 Apr 2015 15:19:40 -0300 >Subject: [PATCH] Bug 10480: (QA followup) hide the EXAMPLE.pl plugin > >The EXAMPLE.pl plugin remains on the source tree for documentation >purposes only, and shouldn't be listed when editing both biblio and >authority cataloguing frameworks. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> >--- > admin/auth_subfields_structure.pl | 5 +++-- > admin/marc_subfields_structure.pl | 3 ++- > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl >index 1a2ec15..e845136 100755 >--- a/admin/auth_subfields_structure.pl >+++ b/admin/auth_subfields_structure.pl >@@ -114,8 +114,9 @@ if ($op eq 'add_form') { > opendir(DIR, "$cgidir/cataloguing/value_builder") || die "can't opendir $cgidir/value_builder: $!"; > } > while (my $line = readdir(DIR)) { >- if ($line =~ /\.pl$/) { >- push (@value_builder,$line); >+ if ( $line =~ /\.pl$/ && >+ $line !~ /EXAMPLE\.pl$/ ) { # documentation purposes >+ push (@value_builder,$line); > } > } > @value_builder= sort {$a cmp $b} @value_builder; >diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl >index 5261dd4..b12062a 100755 >--- a/admin/marc_subfields_structure.pl >+++ b/admin/marc_subfields_structure.pl >@@ -161,7 +161,8 @@ if ( $op eq 'add_form' ) { > || die "can't opendir $cgidir/value_builder: $!"; > } > while ( my $line = readdir(DIR) ) { >- if ( $line =~ /\.pl$/ ) { >+ if ( $line =~ /\.pl$/ && >+ $line !~ /EXAMPLE\.pl$/ ) { # documentation purposes > push( @value_builder, $line ); > } > } >-- >2.3.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 10480
:
19064
|
19072
|
19098
|
19152
|
19154
|
19168
|
19169
|
34308
|
34309
|
34310
|
34311
|
34312
|
35187
|
35188
|
35189
|
35190
|
35191
|
35286
|
35287
|
36106
|
36107
|
36108
|
36109
|
36110
|
36953
|
36954
|
36955
|
36956
|
36957
|
37948
|
37949
|
37950
|
37951
|
37952
|
37953
| 37983