rtMedia
rtMedia copied to clipboard
Fix Pagination
Fix Pagination
Types of changes
- [x] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation Update
Details
- Earlier, there was only support for one shortcode.
- This PR adds support for multiple shortcodes. The main focus is on the pagination issue.
- Added
NumericalandLoad Morepagination usingbackbone.jsviews and collections. - Other support also refactored, like search functionality on media gallery, sort options, etc.
Note
- Few changes are made to
rtMedia-Proto fix the UI issue. So update both plugins' code to get the correct result.
Related PRs
- https://github.com/rtCamp/rtMedia-Pro/pull/1372
I fixed the Pagination issue for the shortcode and media gallery. Please check and let me know if there is something wrong or broken.
Also, check out this PR in the rtMedia-Pro plugin, as it is necessary to fix the issue.
CC: @pavanpatil1, @kjnanda
@pavanpatil1 Handing over this issue to you!
CC @Utsav-Ladani
Hi @Utsav-Ladani, verified the fix and it seems working fine. However, after clicking onload more the previous media are not visible. Please check.
https://github.com/rtCamp/rtMedia/assets/44057535/b889c5f1-6b9f-470c-a969-f673abf5b7f3
Hello @pavanpatil1, I fixed the issue. Now previous content is visible after loading new content in Load More pagination.