~ubuntu-branches/ubuntu/quantal/griffith/quantal

« back to all changes in this revision

Viewing changes to lib/advfilter.py

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2011-12-18 21:15:25 UTC
  • mfrom: (1.1.17) (3.1.11 sid)
  • Revision ID: package-import@ubuntu.com-20111218211525-endbgt82m3jh9gde
Tags: 0.13-1
* New upstream release
* VCS-* fields removed (berlios will be shutdown)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: UTF-8 -*-
2
2
# vim: fdm=marker et ts=4 sw=4
3
 
__revision__ = '$Id: advfilter.py 1452 2010-09-30 20:54:43Z mikej06 $'
 
3
__revision__ = '$Id: advfilter.py 1478 2010-11-23 20:25:16Z mikej06 $'
4
4
 
5
5
# Copyright (c) 2008 Vasco Nunes, Piotr Ożarowski
6
6
#
171
171
        widgets["loans_frame"].hide()
172
172
 
173
173
    widgets['cb_name'].get_model().clear()
174
 
    search_filters = gsql.session.query(db.Filter.name).all()
 
174
    search_filters = gsql.session.query(db.Filter.name).order_by(db.Filter.name).all()
175
175
    for filter_ in search_filters:
176
176
        widgets['cb_name'].append_text(filter_[0])
177
177
    return True