Skip to content

Commit

Permalink
small change (
Browse files Browse the repository at this point in the history
  • Loading branch information
sowmya authored and sowmya committed Dec 23, 2014
1 parent d88f7b5 commit 236c8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/FilterDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ public static Result getProductByProdTypeAndRatingWithColor(int page_num,
+ " as rating from products p inner join merchant m on p.merchant_id=m.merchant_id"
+ " inner join product_color pc on p.id=pc.product_id where p.type_id="
+ prod_type
+ " and pc.color_id IN"
+ " and pc.color_id IN("
+ ctype
+ " order by p.rating desc limit "
+ ") order by p.rating desc limit "
+ 12
* page_num
+ ") as others on im.id=others.pid order by others.rating desc)"
Expand Down

0 comments on commit 236c8f1

Please sign in to comment.