def view(context, request): return default_listing(context, request)
def listing(context, request): result = default_listing(context, request) return result
def listing(context, request): result = default_listing(context, request) dbsync = IndexDatabaseSyncAdapter(context.collection, request) result["need_update"] = dbsync.need_update return result