Page MenuHomePhabricator

String comparision does not work
Closed, DeclinedPublic

Description

Author: dasch

Description:
The String Comparison does not work like it is described in the Documentation

http://www.wecowi.info/view/WeCoWi:Spielwiese


Version: unspecified
Severity: critical

Details

Reference
bz17841

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:36 PM
bzimport set Reference to bz17841.

Are you sure that you have *enabled* this comparator? For performance reasons, it is not available by default, and you have to set something like

$smwgQComparators = '<|>|!|~';

in your LocalSettings.php. In any case, there is no error message, since the ~ would be considered as a part of the string you are querying for. I have checked the ~ comparator on my sites, and it worked without problems.