- Issue created by @jschneidertcs
- 🇨🇭Switzerland jschneidertcs Geneva
In order to be able to separate the operation from the activation of AJAX on my view, I propose the following patch
- 🇨🇭Switzerland jschneidertcs Geneva
In order to be able to separate the operation from the activation of AJAX on my view, I propose the following patch
patch #1 → - 🇨🇭Switzerland jschneidertcs Geneva
In order to be able to separate the operation from the activation of AJAX on my view, I propose the following patch
- 🇨🇭Switzerland jschneidertcs Geneva
In order to be able to separate the operation from the activation of AJAX on my view, I propose the following patch.
- Status changed to Needs review
7 months ago 11:17am 29 May 2024 - last update
7 months ago Patch Failed to Apply - Status changed to Needs work
7 months ago 11:47am 29 May 2024 The Needs Review Queue Bot → tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request → . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- 🇮🇳India prashant.c Dharamshala
Prashant.c → made their first commit to this issue’s fork.
- 🇮🇳India prashant.c Dharamshala
Prashant.c → changed the visibility of the branch 3450525-views-ajax-options to hidden.
- 🇮🇳India prashant.c Dharamshala
@jschneidertcs
This would be a really helpful feature to have. Thanks for raising this.
Raised the MR based on the patch submitted in #3 ✨ Drupal views: adding more granularity to the ‘use ajax’ functionality Needs work
Did a little code refactoring and rephrasing of the labels.
Found a bug that needs work, when the
"use AJAX"
option is enabled and none of the options are checked it should apply AJAX on all the components (pager, filter criteria, sort criteria) which is the existing default behavior.Thanks!
- 🇮🇳India prashant.c Dharamshala
One other bug
https://www.awesomescreenshot.com/video/28387328?key=2463ee3fc3137a32957...When I uncheck the main "use AJAX" checkbox the 3 options on which AJAX will get applied should also get unchecked which is not happening.
- Merge request !8376Drupal views: adding more granularity to the ‘use ajax’ functionality → (Closed) created by jschneidertcs
- Merge request !8377Issue #3450525 - Drupal views: adding more granularity to the ‘use ajax’ functionality → (Open) created by jschneidertcs
- 🇫🇷France julien_g Versonnex
julien_g → changed the visibility of the branch 3450525--views-separate-ajax-options to hidden.
- 🇨🇭Switzerland jschneidertcs Geneva
@prashantc
I've updated the bug you added in your comment.
The pull request has passed all the pipeline steps and is now ready to be validated.
P.S. : I would remind you that the page sorting part is still missing. I haven't managed to define where to take this parameter into account. If you tell me where to make the changes, I'll be happy to do it.
- 🇮🇳India prashant.c Dharamshala
@jschneidertcs
Thanks for making the effort to resolve the previously reported issues.
Regarding the "Sorting" ajax enable/disable it looks like it is from the same file
core/modules/views/js/ajax_view.js
but it is somewhere conflicting with theuse_ajax_paging
orajax-pager
because I noticed when the AJAX on sorting criteria getting enabled/disabled based on the enable/disable on pager. If you keep the pager AJAX disabled then sorting AJAX is also disabled and same for enable.Hope this helps.
- 🇨🇭Switzerland jschneidertcs Geneva
@prashantc
Thanks for your help. I've updated the file for the sorting part and now it should be ok.
- 🇮🇳India prashant.c Dharamshala
IMO tests will also be required for this, therefore tagging for tests as well.
- 🇨🇭Switzerland jschneidertcs Geneva
What are the next steps ? Do I need to make something else ?