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.
Hello,
Thank you for the great module.
I have an issue with this module that can be reproduced on a clean install at https://simplytest.me/
When I use the the 'Search Assets' tab and search for an asset, I get a json object as shown in the image attached.
Comment | File | Size | Author |
---|---|---|---|
#2 | Selection_131.jpeg | 735.58 KB | msti |
Selection_116.jpeg | 2.05 MB | msti |
Comments
Comment #2
mstiI was able to dig further on this and discovered that views-3.10 and higher breaks the asset_widget search functionality.
The code change in views that causes the error is line 60 of js/ajax_view.js file (ver 3.8) Check attachement.
Comment #3
phillamb168 CreditAttribution: phillamb168 as a volunteer commentedI can confirm that reverting js/ajax_view.js corrects this issue.
Comment #4
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commentedIt's issue of views module - from some moment separate exposed filters were broken.
Last dev version contains fix for this.
If someone don't want to update views, this patch could be applied - https://www.drupal.org/node/1809958#comment-10215039
Comment #5
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commented