Skip to content

Commit

Permalink
Fix product_id filter on content delivery repos
Browse files Browse the repository at this point in the history
The value should be an integer.

JIRA: PDC-1104
  • Loading branch information
lubomir committed Oct 16, 2015
1 parent b0a9cb9 commit e3aa2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdc/apps/repository/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
import django_filters as filters

from pdc.apps.common.filters import MultiValueFilter
from pdc.apps.common.filters import MultiValueFilter, MultiIntFilter
from . import models


Expand All @@ -18,7 +18,7 @@ class RepoFilter(filters.FilterSet):
repo_family = MultiValueFilter(name='repo_family__name')
service = MultiValueFilter(name='service__name')
shadow = filters.BooleanFilter()
product_id = MultiValueFilter()
product_id = MultiIntFilter()

class Meta:
model = models.Repo
Expand Down

0 comments on commit e3aa2ca

Please sign in to comment.