[Koha-bugs] [Bug 32302] Hide "ISBN" label when no ISBN data when sending list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 30 11:53:38 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32302

Adam Styles <adam.styles at esa.edu.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adam.styles at esa.edu.au

--- Comment #1 from Adam Styles <adam.styles at esa.edu.au> ---
Hi David,

Just to clarify the issues of bug raised:


By "ISBN:" shows in the email whether or not there is any ISBN data." 

Are you suggesting that, IF a bibliographic record, has NO ISBN FIELD in the
marc file? that the output resulted in email form, still displays a blank ISBN
label.

OR that...

IF a bibliographic record, has an empty ISBN FIELD value in the marc file? that
the output resulted in email form, still displays a blank ISBN label.

The reason I ask, is that in the file:
./koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt

There is a specific IF statement line 61 - 68

```
[% IF ( BIBLIO_RESULT.ISBN ) %]
<span>
                ISBN: [% FOREACH isbn IN BIBLIO_RESULT.ISBN %]
                          [% isbn | $raw %]
                          [% UNLESS ( loop.last ) %]; [% END %]
                      [% END %]
            </span><br/>
[% END %]

```

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list