Needs review
Project:
Facets
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2020 at 17:39 UTC
Updated:
6 Nov 2024 at 17:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
maximpodorov commentedThe JS code is taken from https://www.drupal.org/project/views_ajax_get module.
Comment #3
maximpodorov commentedThe CacheableAjaxResponse class is added.
Comment #4
maximpodorov commentedBlock cacheable metadata are added to the response.
Comment #5
maximpodorov commentedMore block cacheable metadata are added to the response.
Comment #6
id.aleks commentedHello Maxim. Thanks for your work.
We have faced the issue when using the approach from https://www.drupal.org/project/views_ajax_get module. The js code form the mentioned module doens't incude drupalSettings.ajaxPageState.theme and drupalSettings.ajaxPageState.theme_token that may cause incorrect behaviour during the render proccess.
options.data['ajax_page_state[libraries]'] = drupalSettings.ajaxPageState.libraries;has been added to prevent returning already loaded files. See docroot/core/misc/ajax.es6.jsSee Rendering does not use correct nondefault theme for anonymous (2938055)
Comment #7
rakshith.thotada commentedRerolling the patch for the issue https://www.drupal.org/project/facets/issues/3046872 with fix
Comment #8
anand.toshniwal93 commentedRe-rolling patch from comment 7 against 2.0.6
Comment #9
namisha jadhav commentedRe-rolling patch from comment 8 against 2.0.9