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

default sort by favorites #467

Open
2 tasks
jacobvenable opened this issue Apr 20, 2021 · 0 comments
Open
2 tasks

default sort by favorites #467

jacobvenable opened this issue Apr 20, 2021 · 0 comments
Labels
Project: Server Related to the server workspace Project: Web Related to the web workspace sorting and filtering
Projects

Comments

@jacobvenable
Copy link
Member

jacobvenable commented Apr 20, 2021

related to #465 and #466

Description

When retrieving resources by category or subcategory, our API endpoint returns the list sorted by those open as well as those closest to the user. It'd be useful to update this sort to consider the user's favorites.

Checklist

  • when retrieving resources by a category and sub-category, and the user has favorites, the list of resources provided is sorted in the following order by default:
  1. resources that are open AND favorited sorted by those closest to the user
  2. resources that are open and NOT favorited sorted by those closest to the user
  3. resources that are closed AND favorited sorted by those closest to the user
  4. resources that are closed and NOT favorited sorted by those closest to the user
  • when retrieving resources by a category and sub-category, and the user does not have favorites, the list of resources is not sorted by favorites

Tech Notes

@jacobvenable jacobvenable added ⏸ Status: On Hold Addressing this issue later Project: Web Related to the web workspace Project: Server Related to the server workspace sorting and filtering labels Apr 20, 2021
@jacobvenable jacobvenable added this to Backlog in All Issues via automation Apr 20, 2021
@jacobvenable jacobvenable removed the ⏸ Status: On Hold Addressing this issue later label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project: Server Related to the server workspace Project: Web Related to the web workspace sorting and filtering
Projects
All Issues
  
Backlog
Development

No branches or pull requests

1 participant