Skip to content

✨: add sorting by views and rating functionality to search results#418

Merged
A-EDev merged 1 commit into
A-EDev:mainfrom
Rodinamomen:feature/sorting-functionality
May 7, 2026
Merged

✨: add sorting by views and rating functionality to search results#418
A-EDev merged 1 commit into
A-EDev:mainfrom
Rodinamomen:feature/sorting-functionality

Conversation

@Rodinamomen

Copy link
Copy Markdown
Contributor

Description

Adds sorting functionality to search results, allowing users to sort by Views and Rating in addition to the existing Relevance option. A dropdown menu is now accessible from the search filter bar, with a checkmark indicator showing the currently selected sort option.

Screenshot_20260507_180432 Screenshot_20260507_180456
Screenshot_20260507_180512 Screenshot_20260507_180533

Fixes #402

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manually tested on Android by searching for "android io" and verifying:

  • Test A: Sorting by Views correctly reorders results and shows a checkmark next to the selected option
  • Test B: Sorting by Rating correctly reorders results and shows a checkmark next to the selected option
  • Test C: Default Relevance sort is selected on initial search load
  • Test D: Selected sort option is reflected in the filter bar label

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@A-EDev A-EDev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, i will merge it now thanks for your contribution!

@A-EDev A-EDev merged commit 6f709f2 into A-EDev:main May 7, 2026
@Rodinamomen

Copy link
Copy Markdown
Contributor Author

looks good, i will merge it now thanks for your contribution!

You are welcome 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Sort by: rating & views

2 participants