play: Locmare.ListGroupModule.PlayList\r
}\r
\r
- @list: (item_name, list_name) ->\r
- list_group_manifest = LocalManifest.manifest().list_groups[item_name]\r
- list_manifest = list_group_manifest.lists[list_name]\r
- c = Locmare.ListGroup.types()[list_manifest.type]\r
- new c({item_name: item_name, list_name: list_name})\r
+ @list: (controller_name, action_name, operators, options = {}) ->\r
+ controller_manifest = Manifest.manifest().controllers[controller_name]\r
+ action_manifest = controller_manifest.actions[action_name]\r
+ if action_manifest.alias\r
+ options['order'] ||= action_manifest.order\r
+ options['direction'] ||= action_manifest.direction\r
+ alias_action = action_manifest.alias_action\r
+ Locmare.ListGroup.list(alias_action.path_name(), alias_action.name, operators, options)\r
+ else\r
+ list_group_manifest = LocalManifest.manifest().list_groups[controller_name]\r
+ list_manifest = list_group_manifest.lists[action_name]\r
+ c = Locmare.ListGroup.types()[list_manifest.type]\r
+ new c({list_group_name: controller_name, list_name: action_name, operators: operators, options: options})\r
\r
class Locmare.ListGroupModule\r