I apologize if this has been posted before, I spent 30 minutes searching issues and couldn't find anything. I have a table view with exposed filters that i use instead of the "admin/content/node" form.

If I select an option from an optional exposed filter and update the view, and then click the "edit node" field, and then edit the node... Which brings me back to the view... A bad SQL query is generated when returning to the view via the ?destination= redirect.

I could be wrong, but it seems the problem is related to the filters values in the query string getting URLencoded by the destination redirect, and then not decoded before it gets put into the query?

For example:

view_url?filter0=**ALL** becomes view_url?filter0=**ALL** becomes view_url?filter0=%252A%252AALL%252A%252A.

And the SQL Error from the bad query is:

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 ''%2A%2AALL%2A%2A') AND (node.type IN ('%2A%2AALL%2A%2A')) A

Comments

gravit’s picture

Typo above, should read: For example:

view_url?filter0=**ALL** becomes view_url?filter0=%252A%252AALL%252A%252A

merlinofchaos’s picture

Status: Active » Closed (won't fix)

This will not be fixed in Views 1.