Changeset 7068 for main/waeup.sirp/trunk/src/waeup/sirp/hostels/catalog.py
- Timestamp:
- 10 Nov 2011, 18:56:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/hostels/catalog.py
r7006 r7068 21 21 bed_type = index.Field(attribute='bed_type') 22 22 owner = index.Field(attribute='owner') 23 24 class BedQueryResultItem(object):25 grok.implements(IQueryResultItem)26 27 title = u'Bed Query Item'28 description = u'Some bed found in a search'29 30 def __init__(self, context, view):31 self.context = context32 self.url = view.url(context)33 self.bed_id = context.bed_id34 self.bed_type = context.bed_type35 self.bed_number = context.bed_number
Note: See TracChangeset for help on using the changeset viewer.