31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-09-27 12:09:01 +00:00

reenabled filter on id

This commit is contained in:
Nikolai Plath 2011-10-27 14:50:18 -05:00
parent 2c4f4f5774
commit 269f437dd9

View File

@ -118,6 +118,10 @@ class PatchtesterModelPulls extends JModelList
unset($pulls[$i]);
continue;
}
if($searchId && $pull->number != $searchId) {
unset($pulls[$i]);
continue;
}
$matches = array();
preg_match('#\[\#([0-9]+)\]#', $pull->title, $matches);
$pull->joomlacode_issue = isset($matches[1]) ? $matches[1] : 0;
@ -128,16 +132,6 @@ class PatchtesterModelPulls extends JModelList
JFactory::getApplication()->enqueueMessage($e->getMessage(), 'error');
return array();
/*=======
if($searchId && $pull->number != $searchId) {
unset($pulls[$i]);
continue;
}
$matches = array();
preg_match('#\[\#([0-9]+)\]#', $pull->title, $matches);
$pull->joomlacode_issue = isset($matches[1]) ? $matches[1] : 0;
>>>>>>> ordering
*/
}
}