- Status changed to Fixed
10 months ago 9:31am 2 March 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Looking at the code of views_show_more/src/Plugin/views/pager/ShowMore.php::render(), the view display's usesAJAX() method is used to determine if AJAX is enabled and if so add the required library to the view for the pager to work with AJAX. However, on a view display with the Use AJAX option set to FALSE, usesAJAX() still returns TRUE: presumably this is some kind of flag as to whether the view CAN use AJAX and not one of whether it DOES use AJAX.
Create a view with a Show More page and set the Use AJAX option to FALSE. When viewed, the view will have the Views Show More library attached to it.
The alternative method ->ajaxEnabled() returns the value of the Use Ajax? option on the view. I'd suggest the code be updated to use this method instead, but I'm not sure if there was some reason I'm not aware of for usersAJAX() being used so it would require some input from the maintainer.
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.