It works well to use Views Alpha Pager to my a Views page without arguments, but got the error message below when I use it to a view with arguments:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DISTINCT(node.nid) = term_node.nid LEFT JOIN term_data term_data ON term_node.ti' at line 1 query: SELECT count(DISTINCT(term_data.name)) FROM node node LEFT JOIN term_node term_node ON DISTINCT(node.nid) = term_node.nid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid LEFT JOIN node_data_field_item_number node_data_field_item_number ON node.vid = node_data_field_item_number.vid LEFT JOIN node_data_field_latin_name node_data_field_latin_name ON node.vid = node_data_field_latin_name.vid WHERE left(trim(LEADING 'And ' FROM (trim(LEADING 'The ' FROM (trim(LEADING 'A ' FROM (trim(LEADING '\'' FROM (trim(LEADING '"' FROM (trim(LEADING ' ' FROM (upper(node.title))))))))))))), 1) = 'A' AND (node.status = '1') AND (term_node.tid IN ('35','36','37 in .../includes/database.mysql.inc on line 120.
Comments
Comment #1
douggreen commentedIt looks like the problem is related to the "distinct" filter and not views with arguments. Do you have "distinct" in your filter list? If so, can you try removing it and let me know if the SQL error goes away. Thanks!
Comment #2
astra commentedI don't know how to remove "distinct" from my filter. Here is a exported code from the view page. Can you find a solution?
Comment #3
omerida commentedI had the same error, removing the distinct node did fix it.
Comment #4
douggreen commented