Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
ViralHostRangeDB
ViralHostRangeDB
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • hub
  • ViralHostRangeDBViralHostRangeDB
  • Issues
  • #226

Closed
Open
Opened Jan 08, 2021 by Quentin LAMY-BESNIER@qlamybesMaintainer

Change orders of results of a search

Hello @bbrancot

Just a small suggestion for when we are done with the last issue: I noticed than when using the search tool, the results are not necessarely in the most convenient order:

image

Here, "T4" and "T4LD" appear before the ones with "T4" in their NCBI ID, but "T4" with NCBI ID appears after the phages with "T4" in their NCBI ID. This is unfortunate because users are probably most likely to want to access to data for the "T4" with NCBI ID, but it could not be accessible easily (for example when doing a quick search in the search bar).

For users, I think it would be best if the order would be this way, if that's not too complicated to implement:

  1. Results that have the searched characters in their name of virus/host/data source, AND a NCBI ID
  2. Results that have the searched characters in their name of virus/host/data source, WITHOUT a NCBI ID
  3. Results that have the searched characters elsewhere than their name
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: hub/viralhostrangedb#226