Changeset d38ac1b


Ignore:
Timestamp:
Nov 30, 2011 11:46:33 AM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, dev, dev2, diadems, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, production, release/1.4.4, sabiod, security, server, social, storage, telecaster, test, video
Children:
d4c2dd3, 4de535c, b497a41
Parents:
7748c20
git-author:
yomguy <yomguy@…> (30/11/2011 11:46:33)
git-committer:
yomguy <yomguy@…> (30/11/2011 11:46:33)
Message:

search: add sound filter checkbox (closes #91)

Location:
telemeta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • telemeta/templates/telemeta_default/search_criteria.html

    rdd46083 rd38ac1b  
    127127    </p> 
    128128    {% endif %} 
    129     <!-- 
     129 
    130130    <p><label for="sound">{% trans "Sound" %}</label> 
    131131    <input type="checkbox" name="sound" value="True" align="left" /> 
    132132    </p> 
    133     --> 
     133 
    134134</fieldset> 
    135135 
  • telemeta/web/base.py

    r71de57c rd38ac1b  
    288288                items.by_publish_year(int(value), int(input.get('pub_year_to', value)))), 
    289289            'pub_year_to': lambda value: (collections, items), 
     290            'sound': lambda value: ( 
     291                collections.sound(), 
     292                items.sound()), 
    290293        } 
    291294        
Note: See TracChangeset for help on using the changeset viewer.