Changeset 323 for branches/stable/cgi-bin/search.cgi
- Timestamp:
- 04/06/06 10:40:50 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/search.cgi
r319 r323 105 105 106 106 # First chunk of SQL. Filter on custid, description, and notes as necessary. 107 my $sql = "(select $cols from searchme where $webvar{custexclude} custid ilike '%$webvar{custid}%')". 108 " $sqlconcat $webvar{custexclude} oldcustid ilike '%$webvar{custid}%')". 107 my $sql = "(select $cols from searchme where". 108 " $webvar{custexclude} (custid ilike '%$webvar{custid}%'". 109 " OR $webvar{custexclude} oldcustid ilike '%$webvar{custid}%'))". 109 110 " $sqlconcat (select $cols from searchme where $webvar{descexclude} description ilike '%$webvar{desc}%')". 110 111 " $sqlconcat (select $cols from searchme where $webvar{notesexclude} notes ilike '%$webvar{notes}%')";
Note:
See TracChangeset
for help on using the changeset viewer.