View | Details | Raw Unified | Return to bug 3150
Collapse All | Expand All

(-)a/basket/sendbasket.pl (-1 / +1 lines)
Lines 65-71 if ( $email_add ) { Link Here
65
    my $iso2709;
65
    my $iso2709;
66
66
67
    foreach my $bib ( @bibs ) {
67
    foreach my $bib ( @bibs ) {
68
        my $biblio = Koha::Biblios->find( $biblionumber ) or next;
68
        my $biblio = Koha::Biblios->find( $bib ) or next;
69
        $iso2709 .= $biblio->metadata->record->as_usmarc();
69
        $iso2709 .= $biblio->metadata->record->as_usmarc();
70
    }
70
    }
71
71
(-)a/installer/data/mysql/atomicupdate/bug_3150_-_add_LIST_and_CART_notices.perl (-2 / +2 lines)
Lines 1-7 Link Here
1
$DBversion = 'XXX';
1
$DBversion = 'XXX';
2
if( CheckVersion( $DBversion ) ) {
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do(q{ INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES
3
    $dbh->do(q{ INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES
4
('catalog','LIST','','Send list',0,'Your list: [% listname | html %]',"Hi,
4
('catalogue','LIST','','Send list',1,'Your list: [% listname | html %]',"Hi,
5
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].
5
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].
6
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
6
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
7
<hr/>[% comment | html %]<hr/>
7
<hr/>[% comment | html %]<hr/>
Lines 25-31 Please note that the attached file is a MARC bibliographic records file which ca Link Here
25
    [% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %]
25
    [% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %]
26
    [% item.barcode | html %]</li>[% END %]</ul>[% END %]
26
    [% item.barcode | html %]</li>[% END %]</ul>[% END %]
27
<hr/></li>[% END %]</ol>", 'email','default' ),
27
<hr/></li>[% END %]</ol>", 'email','default' ),
28
        ('catalog','CART','','Send cart',0,'Your cart',"Hi,
28
        ('catalogue','CART','','Send cart',1,'Your cart',"Hi,
29
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.
29
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.
30
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
30
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
31
<hr/>[% comment | html %]<hr/>
31
<hr/>[% comment | html %]<hr/>
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-4 / +4 lines)
Lines 1633-1643 tables: Link Here
1633
            - "Waiting since: <<recalls.waitingdate>>"
1633
            - "Waiting since: <<recalls.waitingdate>>"
1634
            - "Notes: <<recalls.recallnotes>>"
1634
            - "Notes: <<recalls.recallnotes>>"
1635
1635
1636
        - module: catalog
1636
        - module: catalogue
1637
          code: LIST
1637
          code: LIST
1638
          branchcode: ""
1638
          branchcode: ""
1639
          name: "Send list"
1639
          name: "Send list"
1640
          is_html: 0
1640
          is_html: 1
1641
          title: "Your list: [% listname | html %]"
1641
          title: "Your list: [% listname | html %]"
1642
          message_transport_type: email
1642
          message_transport_type: email
1643
          lang: default
1643
          lang: default
Lines 1663-1673 tables: Link Here
1663
            - "[% IF ( biblio.items.count > 0 ) %]Items: <ul>[% FOREACH item IN biblio.items %]<li>[% item.holding_branch.branchname | html %][% item.location | html %][% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %][% item.barcode | html %]</li>[% END %]</ul>[% END %]"
1663
            - "[% IF ( biblio.items.count > 0 ) %]Items: <ul>[% FOREACH item IN biblio.items %]<li>[% item.holding_branch.branchname | html %][% item.location | html %][% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %][% item.barcode | html %]</li>[% END %]</ul>[% END %]"
1664
            - "<hr/></li>[% END %]</ol>"
1664
            - "<hr/></li>[% END %]</ol>"
1665
1665
1666
        - module: catalog
1666
        - module: catalogue
1667
          code: CART
1667
          code: CART
1668
          branchcode: ""
1668
          branchcode: ""
1669
          name: "Send cart"
1669
          name: "Send cart"
1670
          is_html: 0
1670
          is_html: 1
1671
          title: "Your cart"
1671
          title: "Your cart"
1672
          message_transport_type: email
1672
          message_transport_type: email
1673
          lang: default
1673
          lang: default
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql (-2 / +2 lines)
Lines 504-510 INSERT IGNORE INTO letter (module, code, name, title, content, message_transport Link Here
504
[% END %]
504
[% END %]
505
", 'email');
505
", 'email');
506
506
507
INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('catalog','LIST','','Send list',1,'Your list: [% listname | html %]',"Hi,
507
INSERT IGNORE INTO letter (module, code, branchcode, name, is_html, title, content, message_transport_type, lang) VALUES ('catalogue','LIST','','Send list',1,'Your list: [% listname | html %]',"Hi,
508
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].
508
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a list from our online catalog called: [% listname | html %].
509
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
509
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
510
<hr/>[% comment | html %]<hr/>
510
<hr/>[% comment | html %]<hr/>
Lines 528-534 Please note that the attached file is a MARC bibliographic records file which ca Link Here
528
    [% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %]
528
    [% IF item.itemcallnumber %]([% item.itemcallnumber | html %])[% END %]
529
    [% item.barcode | html %]</li>[% END %]</ul>[% END %]
529
    [% item.barcode | html %]</li>[% END %]</ul>[% END %]
530
<hr/></li>[% END %]</ol>", 'email','default' ),
530
<hr/></li>[% END %]</ol>", 'email','default' ),
531
        ('catalog','CART','','Send cart',0,'Your cart',"Hi,
531
        ('catalogue','CART','','Send cart',1,'Your cart',"Hi,
532
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.
532
[% borrower.firstname | html %] [% borrower.surname | html %] sent you a cart from our online catalog.
533
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
533
Please note that the attached file is a MARC bibliographic records file which can be imported into personal bibliographic software like EndNote, Reference Manager or ProCite.
534
<hr/>[% comment | html %]<hr/>
534
<hr/>[% comment | html %]<hr/>
(-)a/opac/opac-sendbasket.pl (-1 / +1 lines)
Lines 66-72 if ( $email_add ) { Link Here
66
    my $iso2709;
66
    my $iso2709;
67
67
68
    foreach my $bib ( @bibs ) {
68
    foreach my $bib ( @bibs ) {
69
        my $biblio = Koha::Biblios->find( $biblionumber ) or next;
69
        my $biblio = Koha::Biblios->find( $bib ) or next;
70
        $iso2709 .= $biblio->metadata->record->as_usmarc();
70
        $iso2709 .= $biblio->metadata->record->as_usmarc();
71
    };
71
    };
72
72
(-)a/opac/opac-sendshelf.pl (+1 lines)
Lines 78-83 if ( $shelf and $shelf->can_be_viewed( $borrowernumber ) ) { Link Here
78
    my $contents = $shelf->get_contents;
78
    my $contents = $shelf->get_contents;
79
    my $iso2709;
79
    my $iso2709;
80
80
81
    my @biblionumbers;
81
    while ( my $content = $contents->next ) {
82
    while ( my $content = $contents->next ) {
82
        push @biblionumbers, $content->biblionumber;
83
        push @biblionumbers, $content->biblionumber;
83
        my $biblio = Koha::Biblios->find($content->biblionumber);
84
        my $biblio = Koha::Biblios->find($content->biblionumber);
(-)a/virtualshelves/sendshelf.pl (-2 / +1 lines)
Lines 69-75 if ($to_address) { Link Here
69
        }
69
        }
70
    );
70
    );
71
71
72
    my $patron = Koha:::Patrons->find( $borrowernumber );
72
    my $patron = Koha::Patrons->find( $borrowernumber );
73
    my $user_email = $patron->first_valid_email_address;
73
    my $user_email = $patron->first_valid_email_address;
74
    my $contents = $shelf->get_contents;
74
    my $contents = $shelf->get_contents;
75
    my @biblionumbers;
75
    my @biblionumbers;
76
- 

Return to bug 3150