Changeset 2607
- Timestamp:
- 04/17/24 18:06:58 (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/objects.pm
r2548 r2607 1129 1129 # attr=foo => no extra white space ! 1130 1130 # \W is false, it is possible to have two char 1131 my ($OpFilter, $attr, $attrref, $operator, $val) = $item =~ /^([\!\+\-]?)(\w+)(?:\.([\.\w]+))?(?:([^\w*\\]+)(.+))?$/ or next; 1131 my ($OpFilter, $attr, $attrref, $operator, $val) = $item =~ /^([\!\+\-]?)\s*(\w+)(?:\.([\.\w]+))?\s*(?:([^\w\s\\]+)\s*(.+))?$/ or next; 1132 1132 1133 if (!$operator) { 1133 1134 $operator = '~'; … … 1166 1167 1167 1168 $attrKey .= '.' . $attrref; 1168 my @results = $base->search_objects($otype, "$attrref $operator$val");1169 my @results = $base->search_objects($otype, "$attrref $operator $val"); 1169 1170 $base->log(LA_DEBUG, "Sub search %s res: %s", $otype, join(', ', @results)); 1170 1171
Note: See TracChangeset
for help on using the changeset viewer.