1
0
Fork 0
forked from blallo/rss-bridge

[LeBonCoinBridge] Add cities support (#751)

This commit is contained in:
sublimz 2018-08-01 17:25:18 +02:00 committed by LogMANOriginal
parent a574fa15ac
commit f92ac49947

View file

@ -42,6 +42,7 @@ class LeBonCoinBridge extends BridgeAbstract {
'Réunion' => '26' 'Réunion' => '26'
) )
), ),
'cities' => array('name' => 'Ville'),
'c' => array( 'c' => array(
'name' => 'Catégorie', 'name' => 'Catégorie',
'type' => 'list', 'type' => 'list',
@ -154,6 +155,7 @@ class LeBonCoinBridge extends BridgeAbstract {
$params = array( $params = array(
'text' => $this->getInput('k'), 'text' => $this->getInput('k'),
'region' => $this->getInput('r'), 'region' => $this->getInput('r'),
'cities' => $this->getInput('cities'),
'category' => $this->getInput('c'), 'category' => $this->getInput('c'),
'owner_type' => $this->getInput('o'), 'owner_type' => $this->getInput('o'),
); );