Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtMedia Sorting: sorting based on Most rated is not working as expected #2051

Open
maharrshi opened this issue Jun 13, 2024 · 0 comments
Open
Labels

Comments

@maharrshi
Copy link

maharrshi commented Jun 13, 2024

Describe the bug
When the media gallery is sorted based on "Most Rated", there is no difference in the results produced. It is the same result irrespective of the sorting applied

To Reproduce
Steps to reproduce the behavior:

  1. Go to Home page and add a block: shortcode
  2. Type in "[rtmedia_gallery global="true" sort_parameters="new,comment,rate,view,like"]" and save .
  3. Provide 5 star rating for one image and 1 star rating for another different image
  4. Now sort the media gallery with "Most Rated"

Expected behavior
Picture with 5 star rating should be displayed first .

Actual behavior
Irrespective of the sorting, the image with least rating is displayed first

Visual Proof

Screenshare.-.2024-06-13.5_41_10.PM.mp4

Test Environment Used

  • WordPress: [WP 6.6 Beta 2]
  • BuddyPress: [V 3.16.3]
  • rtMedia [V4.6.19]
  • Transcoder [v 1.3.6]
  • Wordpress beta tester [v 3.5.5]
  • Browser [Chrome v125]
  • Theme : Twenty Twenty One

Additional Note:
Similarly Sorting the media by title is also not working as expected where the expected behavior is that the image with title as "aaaa" has to be displayed first but the behavior of the sort does not work and same sorting is shown always.
Visual Proof for the additional Note:

Screenshare.-.2024-06-13.5_56_42.PM.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant