Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Fix indexerror on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Turner committed Dec 4, 2016
1 parent ee92ec1 commit 9a985be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icekit/utils/search/facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_value(self):
try:
return self.get_applicable_values()[0]
except IndexError:
if not self.select_many:
if not self.select_many and self.get_values():
return self.get_values()[0]


Expand Down

0 comments on commit 9a985be

Please sign in to comment.