Reduced number of enquiries on enq view to speed it up
This commit is contained in:
parent
16da1cf374
commit
241724b8a3
|
|
@ -8,7 +8,7 @@ class EnquiriesController extends AppController {
|
|||
var $paginate = array(
|
||||
|
||||
'contain' => false,
|
||||
'limit' => 250,
|
||||
'limit' => 150,
|
||||
'order'=>array('Enquiry.id' => 'desc')
|
||||
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
<?php echo $javascript->link('findcustomer'); ?>
|
||||
<div class="customers form">
|
||||
<?php echo $this->element('tipbox', array('tip' => "Start typing the Company name into the box, a list of results should appear. Select the Customer you're looking for and click 'View'")); ?>
|
||||
<?php echo $form->create('Customer', array('action'=>'find'));
|
||||
|
||||
<?php echo $form->create('Customer', array('action'=>'find'));
|
||||
echo '<h2>Find Customer';
|
||||
echo $html->image('system-search.png');
|
||||
echo '</h2>';
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
//echo $form->end('Find');
|
||||
|
||||
?>
|
||||
?>
|
||||
<div class ="ui-widget">
|
||||
<button id="findButton">Find Customer</button>
|
||||
</div>
|
||||
|
|
@ -23,6 +23,5 @@
|
|||
|
||||
<div id="dialog" title="Search Results">
|
||||
<ul id="similarCustList">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
Loading…
Reference in a new issue