Project

Profile

Help

Story #5398

closed

As a user I can filter Collections by their tags

Added by bmbouter over 4 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_ansible/689":https://github.com/pulp/pulp_ansible/issues/689


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

Actions #1

Updated by daviddavis over 4 years ago

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

Updated by rchan over 4 years 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.

Actions #3

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF