aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-02-11 11:19:04 +0000
committerMichael Wood <michael.g.wood@intel.com>2015-02-11 11:19:04 +0000
commit114a1f24919de530d0c15237fc5817b416cfc2f9 (patch)
tree9e05f92f75be845eaa0dc0784d6f2f920a663009
parent5d5e165409c0e4581e1d9aa4c5a6793d085385c6 (diff)
downloaderror-report-web-114a1f24919de530d0c15237fc5817b416cfc2f9.tar.gz
error-report-web-114a1f24919de530d0c15237fc5817b416cfc2f9.tar.bz2
error-report-web-114a1f24919de530d0c15237fc5817b416cfc2f9.zip
views: Fix typo in Query to make sure it's contains rather than equal
This was stopping certain results from appearing Signed-off-by: Michael Wood <michael.g.wood@intel.com>
-rw-r--r--Post/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Post/views.py b/Post/views.py
index 00db55b..e02a99c 100644
--- a/Post/views.py
+++ b/Post/views.py
@@ -196,8 +196,8 @@ def search(request, mode=results_mode.LATEST, build_id=None):
Q(BUILD__NAME__icontains=query) |
Q(BUILD__DISTRO__icontains=query) |
Q(BUILD__MACHINE__icontains=query) |
- Q(RECIPE=query) |
- Q(BUILD__NATIVELSBSTRING=query) |
+ Q(RECIPE__icontains=query) |
+ Q(BUILD__NATIVELSBSTRING__icontains=query) |
Q(BUILD__COMMIT__icontains=query) |
Q(BUILD__BRANCH__icontains=query) |
Q(TASK__icontains=query) |