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(
|
var $paginate = array(
|
||||||
|
|
||||||
'contain' => false,
|
'contain' => false,
|
||||||
'limit' => 250,
|
'limit' => 150,
|
||||||
'order'=>array('Enquiry.id' => 'desc')
|
'order'=>array('Enquiry.id' => 'desc')
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
<?php echo $javascript->link('findcustomer'); ?>
|
<?php echo $javascript->link('findcustomer'); ?>
|
||||||
<div class="customers form">
|
<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 '<h2>Find Customer';
|
||||||
echo $html->image('system-search.png');
|
echo $html->image('system-search.png');
|
||||||
echo '</h2>';
|
echo '</h2>';
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
//echo $form->end('Find');
|
//echo $form->end('Find');
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class ="ui-widget">
|
<div class ="ui-widget">
|
||||||
<button id="findButton">Find Customer</button>
|
<button id="findButton">Find Customer</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -23,6 +23,5 @@
|
||||||
|
|
||||||
<div id="dialog" title="Search Results">
|
<div id="dialog" title="Search Results">
|
||||||
<ul id="similarCustList">
|
<ul id="similarCustList">
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in a new issue