1. magicrebirth
  2. DJFacet
  3. Issues
Issue #15 new

OneToOneField is not handled

Anonymous created an issue

Using a model field like: host = models.OneToOneField(Host, related_name='server')

results in incorrect facets populated using a behavior through the 1-1 field (like hosthardwaretypeproductname), all facet values are displayed, not just ones with values.

djfacet/queryhelper.py inspectFieldInfo() has entries for ForeignKey, ManyToManyField, etc., but OneToOneField is not handled.

Comments (0)

  1. Log in to comment