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

[Plato imports] Sorting for suggestions #1676

Closed
Tracked by #1348
mietcls opened this issue Jul 30, 2024 · 0 comments
Closed
Tracked by #1348

[Plato imports] Sorting for suggestions #1676

mietcls opened this issue Jul 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mietcls
Copy link
Member

mietcls commented Jul 30, 2024

Enhancement

Sorting for suggestions

Screenshot 2024-07-30 at 12 00 06

https://booktower-ugent-ui.vercel.app/biblio/researcher/researcher-suggestions/researcher-suggestions.html

  • Default: by status To import (+ added newest first)
    (rejected / claimed last, unclaimed first)
    e.g.
    • To import 10 september
    • To import 9 september
    • To import 8 september
    • Claimed 8 September
    • Claimed 7 September
    • Rejected 8 September
    • Rejected 7 September

Others: by date added or publication year:

  • Added (newest first)
  • Added (oldest first)
  • Publication year (newest first)
  • Publication year (oldest first)

Layout

Together with sorting #1703

Screenshot 2024-09-10 at 16 34 46

Structured a little bit differently because search will not be possible for now:

<div class="bc-toolbar">
    <div class="bc-toolbar-left">
        <!-- Filters -->
    </div>
    <div class="bc-toolbar-right">
        <!-- Sorting -->
    </div>
</div>

Out of scope

#1694 – search

@mietcls mietcls self-assigned this Jul 30, 2024
@mietcls mietcls added draft enhancement New feature or request labels Jul 30, 2024
@mietcls mietcls changed the title [draft] [Plato imports] Sorting and search for suggestions [Plato imports] Sorting and search for suggestions Jul 30, 2024
@mietcls mietcls changed the title [Plato imports] Sorting and search for suggestions [Plato imports] Sorting for suggestions Aug 20, 2024
@mietcls mietcls assigned verheyenkoen and unassigned mietcls Sep 10, 2024
@mietcls mietcls removed the draft label Sep 10, 2024
verheyenkoen added a commit that referenced this issue Sep 19, 2024
verheyenkoen added a commit that referenced this issue Sep 24, 2024
verheyenkoen added a commit that referenced this issue Sep 25, 2024
nics pushed a commit that referenced this issue Sep 27, 2024
* Sort field layout #1676

* Converted sort options to vocabulary map #1676

* Refactored GetCandidateRecords query using squirrel query builder #1676

* Implemented sorting logic #1676

* Refactored queryRows method

* Refactored dashboard code #1676
@nics nics closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🧪 To test
Development

No branches or pull requests

3 participants