When adding an OR filter group in views I get following error:

Call to undefined method Drupal\Component\Render\FormattableMarkup::getGeneratedLink() in material_admin_preprocess_views_ui_display_tab_setting() (line 117 of material_admin\inc\preprocess.inc)

Comments

robin.ingelbrecht created an issue. See original summary.

robin.ingelbrecht’s picture

Status: Active » Needs review
StatusFileSize
new1.69 KB
Bcwald’s picture

StatusFileSize
new46.73 KB

Hey Robin, Nice catch and thanks for the patch!

I was able to reproduce - and this patch did solve the issue. Once I added the OR/AND it caused a styling issue since the classes were not being applied correctly.

I will see about adding that class via a preprocess -- if it doesn't seem reasonable I will target them with CSS

Bcwald’s picture

Committed this and making a separate issue for the CSS issues -- there are more things going on with the ajax checkboxes so it's not trivial.

Bcwald’s picture

Status: Needs review » Fixed
Bcwald’s picture

Status: Fixed » Closed (fixed)