Removed the revisit code, as use of it would only screw up pagination anyway.
git-svn-id: file:///svn-source/pmgr/branches/initial_20090526/site@25 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -30,17 +30,6 @@
|
|||||||
|
|
||||||
$rows = array();
|
$rows = array();
|
||||||
foreach ($contacts as $contact) {
|
foreach ($contacts as $contact) {
|
||||||
/* // REVISIT <AP> 20090528: */
|
|
||||||
/* // The controller really should handle this, but at the moment */
|
|
||||||
/* // it's not clear how. So, let's just cheat. */
|
|
||||||
/* $primary = 0; */
|
|
||||||
/* foreach ($contact['Lease'] AS $lease) { */
|
|
||||||
/* if ($lease['ContactsLease']['type'] != 'ALTERNATE') */
|
|
||||||
/* $primary = 1; */
|
|
||||||
/* } */
|
|
||||||
/* if (!$primary) */
|
|
||||||
/* continue; */
|
|
||||||
|
|
||||||
$rows[] = array($html->link($contact['Contact']['id'],
|
$rows[] = array($html->link($contact['Contact']['id'],
|
||||||
array('controller' => 'contacts',
|
array('controller' => 'contacts',
|
||||||
'action' => 'view',
|
'action' => 'view',
|
||||||
|
|||||||
Reference in New Issue
Block a user