aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-05-06 15:58:22 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-05-06 15:58:22 +0000
commitc1b16a7de0859d507d350fd946abed84ac3683ad (patch)
treeb38c5cee9ef3d37ddba0a4fafab4230a439f4297 /share
parenta6dd5692f77afb88f9aa5a8de13a0519e24a361d (diff)
downloadreaction-c1b16a7de0859d507d350fd946abed84ac3683ad.tar.gz
reaction-c1b16a7de0859d507d350fd946abed84ac3683ad.zip
order_by fixes including enable_order_by and coerce_order_by
Diffstat (limited to 'share')
-rw-r--r--share/skin/base/layout/list_view.tt8
-rw-r--r--share/skin/default/layout/list_view.tt8
2 files changed, 12 insertions, 4 deletions
diff --git a/share/skin/base/layout/list_view.tt b/share/skin/base/layout/list_view.tt
index 40be738..71a1324 100644
--- a/share/skin/base/layout/list_view.tt
+++ b/share/skin/base/layout/list_view.tt
@@ -10,9 +10,13 @@
[% actions %]
-=for layout header_cell_contents
+=for layout sortable_header_cell
-<a href="[% order_uri %]">[% call_next %]</a>
+<a href="[% order_uri %]">[% header_cell_contents %]</a>
+
+=for layout header_cell
+
+[% maybe_sortable_header_cell %]
=for layout actions
diff --git a/share/skin/default/layout/list_view.tt b/share/skin/default/layout/list_view.tt
index ead72b9..e8ef41d 100644
--- a/share/skin/default/layout/list_view.tt
+++ b/share/skin/default/layout/list_view.tt
@@ -10,9 +10,13 @@
[% actions %]
-=for layout header_cell_contents
+=for layout sortable_header_cell
-<a href="[% order_uri %]">[% call_next %]</a>
+<a href="[% order_uri %]">[% header_cell_contents %]</a>
+
+=for layout header_cell
+
+<th> [% maybe_sortable_header_cell %] </th>
=for layout actions