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.
To test out, I have set up a simple content type, with just a title and an integer field.
The list view works fine and shows the list of nodes and their field values retrieved from the mongodb
But if i add a filter to the view (either a preset filter or any exposed filter, or either the title or the integer field), the result is always empty.
Using:
EntityFieldQuery Views Backend 7.x-1.0-alpha3
MongoDB 7.x-1.0-rc2
MongoDB Storage 7.x-1.0-rc2
Edit:
Also observed that a filter on "nid" works, both as a preset filter and as an exposed filter,. All other fields' filters return a null result though
Comments
Comment #1
saitanay CreditAttribution: saitanay commentedMore info: gives this error on trying to search giving a value in exposed filter
Notice: Undefined variable: value in efq_views_handler_filter_field_numeric->op_simple() (line 26 of /var/www/xxx.com/d1/sites/all/modules/efq_views/handlers/efq_views_handler_filter_field_numeric.inc).
Comment #2
mcrittenden CreditAttribution: mcrittenden commentedThis seems critical to me. I can reproduce it as well.
Comment #3
mcrittenden CreditAttribution: mcrittenden commentedActually it appears this isn't as cut and dry as I thought. On a simple test view (exported below), an exposed filter works fine. Moving back to normal in that case--seems to be a little more edge casey.
Comment #3.0
mcrittenden CreditAttribution: mcrittenden commentedadded an obersvation