Hi,
I have these in my table header
<?php echo $this->Paginator->link($html-
>image('dpdown.jpg'),array('sort' => 'OBJ_PREIS', 'direction' =>
'DESC'), $options = array('escape' => false)); ?>
<?php echo $this->Paginator->link($html-
>image('dpdownup.jpg'),array('sort' => 'OBJ_PREIS', 'direction' =>
'ASC'), $options = array('escape' => false)); ?>
2 little arrows which indicate the sorting for a price asc and desc.
but in my source it show alway BOTH links like
<a href="/gesamtobjekt/search/page:1/cat:1/sort:OBJ_PREIS/
direction:asc">
<img alt="" src="/img/dpdown.jpg">
</a>
<a href="/gesamtobjekt/search/page:1/cat:1/sort:OBJ_PREIS/
direction:asc">
<img alt="" src="/img/dpdownup.jpg">
</a>
I have by default the sortng for OBJ_PREIS ASC within my find()
statement.
What I do wrong to get the wrong links displayed?
Please help!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php