From 791b41437d4e094a11373d74ddd625df670ab1ad Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Sat, 7 Jun 2014 13:35:33 +0530 Subject: [PATCH] Feature: Search on Yield in Product List --- brewman/static/scripts/product.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brewman/static/scripts/product.js b/brewman/static/scripts/product.js index ed209a29..516e46a0 100644 --- a/brewman/static/scripts/product.js +++ b/brewman/static/scripts/product.js @@ -18,7 +18,8 @@ var ProductListCtrl = ['$scope', '$location', '$routeParams', 'Tokenizer', 'prod 'n': {'Col': 'Name', 'Comparator': 'text'}, 'a': {'Col': 'IsActive', 'Comparator': 'boolean'}, 'u': {'Col': 'Units', 'Comparator': 'text'}, - 't': {'Col': 'ProductGroup', 'Comparator': 'text'} + 't': {'Col': 'ProductGroup', 'Comparator': 'text'}, + 'y': {'Col': 'ProuctYield', 'Comparator': 'numeric'} }, def: 'n', sorter: {