- last update
over 1 year ago 418 pass, 3 fail - π§π¬Bulgaria rumendamyanov Plovdiv, Bulgaria (EU)
Updated patch based on #19 to fix this error:
TypeError: Drupal\facets_range_widget\Plugin\facets\processor\SliderProcessor::Drupal\facets_range_widget\Plugin\facets\processor\{closure}(): Argument #1 ($a) must be of type Drupal\facets_range_widget\Plugin\facets\processor\ResultInterface, Drupal\facets\Result\Result given in Drupal\facets_range_widget\Plugin\facets\processor\SliderProcessor->Drupal\facets_range_widget\Plugin\facets\processor\{closure}() (line 36 of modules/contrib/facets/modules/facets_range_widget/src/Plugin/facets/processor/SliderProcessor.php).
Also, added rounding of the displayed values to defined precision.
- πΉπThailand Nick Hope
I was not getting the error described in #26, but the patch in #26 applies to Facets 3.0.0-beta1 (as did patch #19) and my range slider still works correctly.
- last update
over 1 year ago 418 pass, 3 fail - π§π¬Bulgaria rumendamyanov Plovdiv, Bulgaria (EU)
Minor fix for #26 for cases where min/max values are calculated with steps that are not whole numbers (e.g. '0.1').
- πΉπThailand Nick Hope
Patch #28 applies to Facets 3.0.0-beta1 and my range slider still works correctly.
- last update
over 1 year ago 418 pass, 3 fail - π§π¬Bulgaria rumendamyanov Plovdiv, Bulgaria (EU)
Minor changes for better calculations of min/max slider values when rounding floating numbers with custom precision.
- πΉπThailand Nick Hope
Thank you. Patch #30 applies to Facets 3.0.0-beta1 and my range slider still works correctly. I'm using Drupal 9.5.9.
- π΅πͺPeru alyaj2a
Thank you. #30 π Improve performance for range widgets Needs review . This patch worked for me.
- heddn Nicaragua
Bumping to 3.x and can we move the latest patch into an MR so tests can be added (and existing ones executed)?