https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20596 --- Comment #8 from David Cook <dcook@prosentient.com.au> --- At a glance, I think that there's a syntax error in the query being generated. If you decompose the following: @or @attr 7=1 @attr 4=109 @attr 1=Local-Number 0 @attr 1=Any @attr 4=1 @attr 5=100 @attr 6=3 "F000001" @attr 1=Any @attr 4=1 @attr 5=100 @attr 6=3 "44444" You get this: @or @attr 7=1 @attr 4=109 @attr 1=Local-Number 0 @attr 1=Any @attr 4=1 @attr 5=100 @attr 6=3 "F000001" @attr 1=Any @attr 4=1 @attr 5=100 @attr 6=3 "44444" There are 3 queries there but only 1 operator. Marjorie, can you provide a screenshot of the record matching rule being used? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.