katycomputer Posted November 22, 2017 Report Share Posted November 22, 2017 If you have a number of clients, it would be nice to be able to sort by first_name or last_name when looking for a client. If I manually edit the url to: /admin/clients/index/active/?sort=last_name&order=asc the client list is sorted by last name, so it seems like this would be an "easy" change. I am populating the company field with last_name, first_name; it would be better if we had two columns. Beav and Michael 2 Quote Link to comment Share on other sites More sharing options...
katycomputer Posted November 22, 2017 Author Report Share Posted November 22, 2017 As a work-around, I changed one line in: /app/views/admin/default/admin_clients.pdt From: <td><span><a href="<?php echo $this->Html->safe($this->base_uri . 'clients/index/' . $this->Html->ifSet($status) . '/?sort=first_name&order=' . ($sort == 'first_name' ? $negate_order : $order));?>" class="ajax<?php echo $this->Html->safe($sort == 'first_name' ? ' ' . $order : '');?>"><?php $this->_('AdminClients.index.heading_name');?></a></span></td> To: <td><span><a href="<?php echo $this->Html->safe($this->base_uri . 'clients/index/' . $this->Html->ifSet($status) . '/?sort=last_name&order=' . ($sort == 'last_name' ? $negate_order : $order));?>" class="ajax<?php echo $this->Html->safe($sort == 'last_name' ? ' ' . $order : '');?>"><?php $this->_('AdminClients.index.heading_name');?></a></span></td> Hopefully I didn't break something :-) Michael 1 Quote Link to comment Share on other sites More sharing options...
katycomputer Posted December 23, 2017 Author Report Share Posted December 23, 2017 Thanks for making this change in 4.2! BTW: I use Softaculous, the update from 4.1 to 4.2 appears to be flawless. Michael 1 Quote Link to comment Share on other sites More sharing options...
katycomputer Posted February 5, 2018 Author Report Share Posted February 5, 2018 I just found smart search - nice feature, really helps when looking for clients! Thanks for a great product. Michael 1 Quote Link to comment Share on other sites More sharing options...
Michael Posted February 5, 2018 Report Share Posted February 5, 2018 12 hours ago, katycomputer said: I just found smart search - nice feature, really helps when looking for clients! Thanks for a great product. you can also search product labels now. katycomputer 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.