Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use table alias/name when building date query (#164)
* Use the received table name & table alias arguments in the `get_sql` function to set those as properties on the Date class. * Then, when building the SQL query, use the alias or name (only if available) to prepend to the column name in the query. * This prevents and fixes the issue described in awesomemotive/easy-digital-downloads#9699 * Update get_sql params as per WP_Meta_Query * Update get_column to only use the table_name * Removed the table alias as that's not something WP_Meta_Query uses
- Loading branch information