Changeset 389


Ignore:
Timestamp:
02/18/10 15:03:12 (15 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Commit lurking fix/extension to search descriptions for CustIDs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/search.cgi

    r361 r389  
    295295    # Query for a customer ID.  Note that we can't restrict to "numeric-only"
    296296    # 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%'";
    298298    my $count = countRows($sql);
    299299    $sql .= " order by cidr limit $RESULTS_PER_PAGE offset $offset";
Note: See TracChangeset for help on using the changeset viewer.