MySQL has an "oddity" in that it gets confused when field names that conflict with keywords (like "type") are used. In many instances the code automatically applies back-ticks around field names, but not in ORDER BY clauses in getWhere(). It ought to be not too hard to do that.
MySQL has an "oddity" in that it gets confused when field names that conflict with keywords (like "type") are used. In many instances the code automatically applies back-ticks around field names, but not in ORDER BY clauses in getWhere(). It ought to be not too hard to do that.