Changeset 402 for trunk/cgi-bin/search.cgi
- Timestamp:
- 05/11/10 17:33:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/search.cgi
r397 r402 318 318 # Query for a customer ID. Note that we can't restrict to "numeric-only" 319 319 # as we have non-numeric custIDs in the legacy data. :/ 320 $sql = "select $cols from searchme where custid ilike '%$query%' or oldcustid ilike '%$query%' ";320 $sql = "select $cols from searchme where custid ilike '%$query%' or oldcustid ilike '%$query%' or description like '%$query%'"; 321 321 my $count = countRows($sql); 322 322 $sql .= " order by cidr limit $RESULTS_PER_PAGE offset $offset"; … … 500 500 return $a[0]; 501 501 } 502
Note:
See TracChangeset
for help on using the changeset viewer.