~sircmpwn/todo.sr.ht

68e1a17b2a136513bd58f0c03fd93448af1ebcd3 — Drew DeVault 4 months ago d3ef822 0.61.14
Omit description from tracker search
1 files changed, 1 insertions(+), 2 deletions(-)

M todosrht/blueprints/html.py
M todosrht/blueprints/html.py => todosrht/blueprints/html.py +1 -2
@@ 132,8 132,7 @@ def trackers_for_user(username):
    search = request.args.get("search")
    if search:
        trackers = trackers.filter(or_(
            Tracker.name.ilike("%" + search + "%"),
            Tracker.description.ilike("%" + search + "%")))
            Tracker.name.ilike("%" + search + "%")))

    trackers = trackers.order_by(Tracker.updated.desc())
    trackers, pagination = paginate_query(trackers)