Browse Source

[LeBonCoinBridge] Add cities support (#751)

sublimz 5 years ago
parent
commit
f92ac49947
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bridges/LeBonCoinBridge.php

+ 2 - 0
bridges/LeBonCoinBridge.php

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