circulate icon indicating copy to clipboard operation
circulate copied to clipboard

Librarian view: Add functionality to sort by columns

Open rkim00 opened this issue 5 years ago • 4 comments

As a librarian, I want to be able to sort & reverse sort by columns in various views in the admin screen, so that I can more easily find specific information (e.g., finding one of many members named "Al," since "al" is a common string in member names).

This could happen in several places. Roughly in order of priority:

  • members screen (https://circulate-staging.herokuapp.com/admin/members)
  • loans screen (https://circulate-staging.herokuapp.com/admin/loan_summaries)
  • holds screen (https://circulate-staging.herokuapp.com/admin/holds)

Ideally there's an up or down arrow next to the column name, the default sort is indicated by an arrow at the beginning, and clicking on a name already sorted by reverses the existing sort. But open to different/easier implementations.

rkim00 avatar Sep 12 '20 18:09 rkim00

@rkim00 Hi! I saw that there is a toggle button with order field ("sort by"). Should we remove it when implements order in columns?

italomatos avatar Aug 03 '21 12:08 italomatos

Hi @italomatos . Which page are you referring to?

@rkim00 Hi! I saw that there is a toggle button with order field ("sort by"). Should we remove it when implements order in columns?

rkim00 avatar Aug 04 '21 20:08 rkim00

@italomatos I see what you're referring to now, on the Members page. Yes, I think we could remove it, assuming that the implementation in columns is sufficiently intuitive for a user. Try it and see what you think!

rkim00 avatar Aug 05 '21 02:08 rkim00

@rkim00 thank you, I will get this card and open a PR :)

italomatos avatar Aug 05 '21 23:08 italomatos