diff --git a/installer/data/mysql/db_revs/240600041.pl b/installer/data/mysql/db_revs/240600041.pl index 26b91e9703..e4bd7b3f25 100755 --- a/installer/data/mysql/db_revs/240600041.pl +++ b/installer/data/mysql/db_revs/240600041.pl @@ -13,5 +13,8 @@ return { $dbh->do(q{ UPDATE IGNORE letter SET module = 'lists' WHERE code = 'SHARE_INVITE'; }); say_success( $out, "Moved SHARE_INVITE notice to lists module" ); + + $dbh->do(q{ UPDATE IGNORE letter SET module = 'lists' WHERE code = 'LIST'; }); + say_success( $out, "Moved LIST notice to lists module" ); }, }; diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index c635efc68a..8950c41e51 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -2464,7 +2464,7 @@ tables: - "" - "

" - - module: catalogue + - module: lists code: LIST branchcode: "" name: "Send list" diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl index 2f3cf07961..6df65b7e92 100755 --- a/opac/opac-sendshelf.pl +++ b/opac/opac-sendshelf.pl @@ -91,7 +91,7 @@ if ( $shelf and $shelf->can_be_viewed($borrowernumber) ) { ); my $letter = C4::Letters::GetPreparedLetter( - module => 'catalogue', + module => 'lists', letter_code => 'LIST', lang => $patron->lang, tables => { diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl index 62e7a6fbd5..9397c52a1d 100755 --- a/virtualshelves/sendshelf.pl +++ b/virtualshelves/sendshelf.pl @@ -90,7 +90,7 @@ if ( $to_address && $op eq 'cud-send' ) { ); my $letter = C4::Letters::GetPreparedLetter( - module => 'catalogue', + module => 'lists', letter_code => 'LIST', lang => $patron->lang, tables => {