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.

CommentFileSizeAuthor
#2 Selection_131.jpeg735.58 KBmsti
Selection_116.jpeg2.05 MBmsti
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

msti created an issue. See original summary.

msti’s picture

Title: Ajax error on search » Views 3.10 and higher breaks asset_widget search
Priority: Normal » Major
FileSize
735.58 KB

I 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.

phillamb168’s picture

I can confirm that reverting js/ajax_view.js corrects this issue.

IRuslan’s picture

It'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

IRuslan’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.