#539: Output Formats should read multiple fields when selecting templates
-----------------------+---------------------
 Reporter:  tbrooks    |      Owner:  tbrooks
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  BibFormat  |    Version:
 Keywords:             |
-----------------------+---------------------
 in bibformat_engine, the decide_format_template logic does not take into
 account the possibility of more than one field of a given type, so only
 the first occurrence is used in determining templates as in

 tag 980__a :
  INSTITUTION --- Inst_format.bft

 default: Default_format.bft

 if the record has

 980__a:CORE
 980__a:HEP200
 980__a:INSTITUTION

 it will be formatted with Default_format.bft

 but if INSTITUTION comes first it will use Inst_format.bft.

 I have a patch ready to fix this

-- 
Ticket URL: <https://invenio-software.org/ticket/539>
Invenio <http://invenio-software.org>

Reply via email to