From de350e0bf225ebcdf35ec73b1906a2cc4f8cfa24 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 25 Apr 2022 10:30:36 +0000 Subject: [PATCH] Bug 30290: (QA follow-up) Sample notices/database update: Change phrasing to Yes/No Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- installer/data/mysql/atomicupdate/bug_30290.pl | 2 +- installer/data/mysql/en/mandatory/sample_notices.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_30290.pl b/installer/data/mysql/atomicupdate/bug_30290.pl index b2ed7cdb91..621263e441 100755 --- a/installer/data/mysql/atomicupdate/bug_30290.pl +++ b/installer/data/mysql/atomicupdate/bug_30290.pl @@ -8,7 +8,7 @@ return { my ($dbh, $out) = @$args{qw(dbh out)}; my $sql = q| UPDATE letter -SET content=REPLACE(content, '\nPages:', '\nTOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]\nPages:') +SET content=REPLACE(content, '\nPages:', '\nTOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]\nPages:') WHERE code RLIKE '^AR_' AND module='circulation' AND content NOT RLIKE '\nTOC:'; |; $dbh->do( $sql ); diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index d679e9402d..37b4302eac 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -240,7 +240,7 @@ tables: - "Volume: <>" - "Issue: <>" - "Date: <>" - - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]" + - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]" - "Pages: <>" - "Chapters: <>" - "Notes: <>" @@ -267,7 +267,7 @@ tables: - "Volume: <>" - "Issue: <>" - "Date: <>" - - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]" + - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]" - "Pages: <>" - "Chapters: <>" - "Notes: <>" @@ -296,7 +296,7 @@ tables: - "Volume: <>" - "Issue: <>" - "Date: <>" - - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]" + - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]" - "Pages: <>" - "Chapters: <>" - "Notes: <>" @@ -323,7 +323,7 @@ tables: - "Volume: <>" - "Issue: <>" - "Date: <>" - - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]" + - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]" - "Pages: <>" - "Chapters: <>" - "Notes: <>" @@ -350,7 +350,7 @@ tables: - "Volume: <>" - "Issue: <>" - "Date: <>" - - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]" + - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]" - "Pages: <>" - "Chapters: <>" - "Notes: <>" @@ -380,7 +380,7 @@ tables: - "Volume: <>" - "Issue: <>" - "Date: <>" - - "TOC: [% IF article_request.toc_request %]Include TOC[% ELSE %]No[% END %]" + - "TOC: [% IF article_request.toc_request %]Yes[% ELSE %]No[% END %]" - "Pages: <>" - "Chapters: <>" - "Notes: <>" -- 2.39.5