I have a problem with the admin generator for symfony 1.2.7. The
headers for columns are clickable, but they link to the same page,
i.e. /reports, and not /reports?sort=is_reviewed&sort_type=asc.
I can see from the files generated in the cache that the code is as
follows:
<?php echo link_to(__('Is reviewed', array(), 'messages'), '@ad_report?
sort=is_reviewed&sort_type=asc') ?>
The routing.yml only contains the following:
ad_report:
class: sfPropelRouteCollection
options:
model: AdReport
module: reports
prefix_path: reports
column: id
with_wildcard_routes: true
As well as some default rules.
Any idea what might be causing this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---