Skip to content

Commit

Permalink
Merge pull request #87 from CMPUT291PROJECT1F18/stuff
Browse files Browse the repository at this point in the history
stuff
  • Loading branch information
ryfurrer committed Nov 5, 2018
2 parents 1983eea + 2d3a07f commit 8705d43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mini_project_1/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ def do_search_rides(self, arg):
parser = get_search_for_ride_parser()
try:
args = parser.parse_args(arg.split())
search_conditions = "(l1.lcode = ? OR l1.city LIKE ? OR l1.prov LIKE ? OR l1.address LIKE ? OR " + \
"l2.lcode = ? OR l2.city LIKE ? OR l2.prov LIKE ? OR l2.address LIKE ? OR " + \
"l3.lcode = ? OR l3.city LIKE ? OR l3.prov LIKE ? OR l3.address LIKE ?)"
search_conditions = "(l1.lcode LIKE ? OR l1.city LIKE ? OR l1.prov LIKE ? OR l1.address LIKE ? OR " + \
"l2.lcode LIKE ? OR l2.city LIKE ? OR l2.prov LIKE ? OR l2.address LIKE ? OR " + \
"l3.lcode LIKE ? OR l3.city LIKE ? OR l3.prov LIKE ? OR l3.address LIKE ?)"

# setup query conditions for one term
search_string = search_conditions
Expand Down

0 comments on commit 8705d43

Please sign in to comment.