Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#870 closed defect (fixed)

match="all" and "any" don't work correctly for variables in CSL

Reported by: erazlogo Owned by: simon
Priority: major Milestone: 1.0.2
Component: styles Version: 1.0
Keywords: Cc: codec

Description

I may be wrong abt this, but it seems that only the first variable is evaluated. This is true for variables but not for types, etc.

For example, if an item has a place of publication but no publisher:

[variable="publisher-place publisher" match="all"] evaluates to "true" when it should be "false"

[variable="publisher publisher-place" match="any"] evaluates to "false" when it should be "true"

This was working before - possibly got broken when "is-number" function was added.

Change History (1)

comment:1 Changed 9 years ago by simon

  • Resolution set to fixed
  • Status changed from new to closed

(In [2066]) fixes #870, match="all" and "any" don't work correctly for variables in CSL.

Note: See TracTickets for help on using tickets.