Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is pretty similar to #960596: Node types not quoted in query (preview only).
While I was creating some tests for view I realized that the info provided by simpletest is not really useful.
This patch escapes placeholders in the same way that is done in the view preview.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1613506.patch | 3.52 KB | dawehner |
#1 | views.1613506.patch | 1.17 KB | dagmar |
Comments
Comment #1
dagmarPatch attached.
Comment #2
dawehnerWhat about adding a method on the query plugin?
This would make the code a bit easier to read.
Comment #3
dawehnerJust moved this long code into a new method.