Project

Profile

Help

Story #5398

As a user I can filter Collections by their tags

Added by bmbouter 3 months ago. Updated 3 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Background

The Collection model current has a many-to-many relationship with Tags here

Desire

As a user, I can provide tags as a get style parameter similar to existing DRF filtering. Multiple tags specified should be treated as an AND so each collection should only be returned if it contains ALL of them.

Details

This should extend the CollectionVersionFilter here

Also this request was originally implemented by Galaxy here as two queries where the first one returns pks of collections, and then further fitlers the queryset. Note this implementation is an OR while we need an AND.

Galaxy later opened a PR to update their implementation to an AND see here

History

#1 Updated by daviddavis 3 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
  • Sprint set to Sprint 58

#2 Updated by rchan 3 months ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (daviddavis)
  • Sprint deleted (Sprint 58)

Haven't gotten to this yet and need to address blocking issues, so removing from sprint & assignee.

Please register to edit this issue

Also available in: Atom PDF