Changeset 389 for branches/stable/cgi-bin
- Timestamp:
- 02/18/10 15:03:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/search.cgi
r361 r389 295 295 # Query for a customer ID. Note that we can't restrict to "numeric-only" 296 296 # as we have non-numeric custIDs in the legacy data. :/ 297 $sql = "select $cols from searchme where custid ilike '%$query%' or oldcustid ilike '%$query%' ";297 $sql = "select $cols from searchme where custid ilike '%$query%' or oldcustid ilike '%$query%' or description like '%$query%'"; 298 298 my $count = countRows($sql); 299 299 $sql .= " order by cidr limit $RESULTS_PER_PAGE offset $offset";
Note:
See TracChangeset
for help on using the changeset viewer.