Views filter works but Views expose filter NOT

Created on 22 July 2016, over 8 years ago
Updated 18 September 2024, 3 months ago

Hi:

I made some 'View json query' with filter and works very well but when I tried to exposed this filter display some errors and does not work and this is the error

Warning: strpos(): Empty needle in __lambda_func() (line 1 of \sites\all\modules\views_json_query\views_json_query_plugin_query_json.inc(204) : runtime-created function).

Thanks

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇲🇜Mexico delbozkester

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the “VDC” tag instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy drp_distruptor Neaples

    Hi, the problem is the second value of the filter;
    change the third input on line 229 on file: modules/views_json_query/views_json_query_plugin_query_json.inc

    $check = $this->ops($filter[1], $l, $view->exposed_data[$filter[0]]);

Production build 0.71.5 2024