DB.Row.Scan(SELECT COUNT() FROM member_trustgroup mt INNER JOIN trustgroup grp ON (mt.trustgroup = grp.ident) INNER JOIN member m ON (m.ident = mt.member) INNER JOIN member_email me ON (me.member = m.ident) WHERE grp.ident = $1 AND me.email = mt.email AND (m.ident ~ $2 OR m.descr ~ $2 OR m.affiliation ~ $2) )[[]] error: pq: invalid regular expression: parentheses () not balanced
DB.Row.Scan(SELECT COUNT() FROM member_trustgroup mt INNER JOIN trustgroup grp ON (mt.trustgroup = grp.ident) INNER JOIN member m ON (m.ident = mt.member) INNER JOIN member_email me ON (me.member = m.ident) WHERE grp.ident = $1 AND me.email = mt.email AND (m.ident ~ $2 OR m.descr ~ $2 OR m.affiliation ~ $2) )[[ ]] error: pq: invalid regular expression: parentheses () not balanced
Search here was: "(nameofuser"
and apparently that searches for a regexp....