Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • M mopidy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • mopidy
  • Merge requests
  • !15

Add basic filtering on search results

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged lertsenem requested to merge Lertsenem/mopidy:feature/filter_search_results_by_query_type into master Dec 21, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Any MPD query was treated the same, whether it was an album, artist, track, etc. query. With this commit, a basic filtering occurs, meaning that 'album' queries will only return albums, 'track' queries will only return tracks, 'artist' queries will only return artists, and 'any' queries will return all of the above.

Limitation: any other query now won't return anything. This seems logical, since Funkwhale search only distinguishes between artists, albums and tracks.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/filter_search_results_by_query_type