From 4a872aa6512b3336f5c8464f7c79d6b5c90b38d8 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 21 Jul 2011 14:43:38 +0000 Subject: added bios and architecture filters for notebooks --- h-source/Application/Controllers/NotebooksController.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Controllers/NotebooksController.php') diff --git a/h-source/Application/Controllers/NotebooksController.php b/h-source/Application/Controllers/NotebooksController.php index b533a4e..470edc2 100644 --- a/h-source/Application/Controllers/NotebooksController.php +++ b/h-source/Application/Controllers/NotebooksController.php @@ -103,7 +103,9 @@ class NotebooksController extends GenericController 'compatibility:sanitizeString' => 'undef', 'comm_year:sanitizeString' => 'undef', 'subtype:sanitizeString' => 'undef', - 'sort-by:sanitizeString' => 'undef' + 'sort-by:sanitizeString' => 'undef', + 'bios:sanitizeString' => 'undef', + 'architecture:sanitizeString' => 'undef', ); $this->setArgKeys($argKeys); @@ -121,7 +123,9 @@ class NotebooksController extends GenericController 'vendor' => $this->viewArgs['vendor'], 'comm_year' => $this->viewArgs['comm_year'], 'subtype' => $this->viewArgs['subtype'], - 'compatibility' => $this->viewArgs['compatibility'] + 'compatibility' => $this->viewArgs['compatibility'], + 'bios' => $this->viewArgs['bios'], + 'architecture' => $this->viewArgs['architecture'], ); $this->mod->setWhereQueryClause($whereArray); -- cgit v1.2.3