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

--- Comment #2 from Adam Styles <[email protected]> ---
Hi David,

Just to clarify the bug raised:

```
"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 result in email, still displays a blank ISBN label.

OR that...

IF a bibliographic record, has an empty ISBN FIELD with no value in subfields,
in the marc file, that the output result in email, 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, that will only display the ISBN
output IF the marc file itself has an ISBN marc field present (either subfield
populated or not).

See below

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

I ran a quick test in opac which appears to show the ISBN label, only when the
marc record itself has a 020 ISBN field. When I removed 020 ISBN field in test
marc record, the ISBN label did not populate in output results.

Are you able to create a test plan based on your perspective on this bug? IF so
I can test authentically.

Thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to