Permalink
Browse files

vedio order by weight

  • Loading branch information...
1 parent 741447e commit 2b0fa5033a9178f2dd7764eec19b5b45e727c36d @tizac committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 view.py
View
@@ -230,7 +230,7 @@ def GET(self):
class vedios:
def GET(self):
- catalogs = web.ctx.orm.query(Catalog).filter(Catalog.channel==3).order_by(Catalog.name).all()
+ catalogs = web.ctx.orm.query(Catalog).filter(Catalog.channel==3).order_by(Catalog.weight).all()
return render.vedios(catalogs)

0 comments on commit 2b0fa50

Please sign in to comment.