ui_patterns icon indicating copy to clipboard operation
ui_patterns copied to clipboard

Patterns not displayed in AJAX views

Open mikemccaffrey opened this issue 6 years ago • 3 comments

When I enable "Use AJAX" on a view that is rendering rows using patterns, I get the message "Pattern Views row plugin does not support preview" whenever the filters are changed and the view refreshes.

It looks like that error was added in this issue to keep errors from displaying on views previews: https://github.com/nuvoleweb/ui_patterns/issues/54

However, it looks like the error is also being thrown on views pages that are in the front-end theme and should work fine.

mikemccaffrey avatar Jan 20 '19 22:01 mikemccaffrey

Hmm... after digging into things a bit, it seems like the preview flag might just be set for all views ajax requests, and the problem is not in this module. Weird.

Perhaps there is an alternate way to identify whether the view is being displayed in the admin theme, and is therefore unable to access the patterns from the front-end theme?

mikemccaffrey avatar Jan 21 '19 00:01 mikemccaffrey

+1 for this issue. Is there any fix for this yet? the fix submitted by drclaw seems to have failed some checks

MaxCSwann avatar Mar 16 '22 13:03 MaxCSwann

Moved to drupal.org : https://www.drupal.org/project/ui_patterns/issues/3315661

mika2na avatar Oct 17 '22 08:10 mika2na