Bug 10982: fix link to IFLA UNIMARC documentation in Cataloging
authorFrédéric Demians <f.demians@tamil.fr>
Wed, 2 Oct 2013 08:53:30 +0000 (10:53 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 22 Oct 2013 05:23:51 +0000 (05:23 +0000)
commit814c463c24510ac0c1e7e240100833714089e86f
tree3ced9588f38c3840081d16f242c10a9912c3b756
parentef6185d31f454a4766194cc4d823fe0210fefd21
Bug 10982: fix link to IFLA UNIMARC documentation in Cataloging

In Cataloging, a ? opens a documentation page on IFLA web site. The current
implementation rely on the tag tab to select the appropriate IFLA
documentation web page. It doesn't work when UNIMARC tag are displayed
in a tab which digit is different for tag first digit.

To reproduce the bug:

  - Modify default framework, put all 200 subfields in tab 1
  - Add a new biblio record
  - Click on ? on 200 field
   => Wrong IFLA page is opened

Apply the patch and retry...

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Simple fix. Work as described. No koha-qa errors

Test on UNIMARC install
1) Switched all 2xx tags to tab 1
2) press any 2xx ?, wrong page
3) patch applied
4) links are now correct

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt