You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on all the pages where we have DataTables, we need to feed it all posts, since it has it's own pagination. Currently it will feed 10 posts into DataTables, even if you have 200 and pagination doesn't work because the loop stops at 10.
I guess there are two options, feed DataTables all posts, or hook up the DataTables pagination with the loop query to fetch the next results (won't be as fast and printing all records will be more painful).
Not sure what the performance would be like feeding all data on the main page either.
To replicate, create > 10 posts.
The text was updated successfully, but these errors were encountered:
Maybe we could do a combination of the two? Load in 50-100 posts (fairly fast) and hook in the pagination to an ajax call that will go get more. That way we cover a large number of visitor's use cases without bogging down the server or providing too few cases and needing to wait on ajax calls too often.
How do we want to handle printing this thing? You just print what you see? Will there be a page to display all "cases", although that may be overkill? I created #35 also.
on all the pages where we have DataTables, we need to feed it all posts, since it has it's own pagination. Currently it will feed 10 posts into DataTables, even if you have 200 and pagination doesn't work because the loop stops at 10.
I guess there are two options, feed DataTables all posts, or hook up the DataTables pagination with the loop query to fetch the next results (won't be as fast and printing all records will be more painful).
Not sure what the performance would be like feeding all data on the main page either.
To replicate, create > 10 posts.
The text was updated successfully, but these errors were encountered: