Преглед на файлове

Merge pull request #692 from pierredup/type-search

Added type parameter to search
Jordi Boggiano преди 8 години
родител
ревизия
d14f51d9b7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Packagist/WebBundle/Package/SymlinkDumper.php

+ 1 - 1
src/Packagist/WebBundle/Package/SymlinkDumper.php

@@ -291,7 +291,7 @@ class SymlinkDumper
             $this->rootFile['notify'] = str_replace('VND/PKG', '%package%', $url);
             $this->rootFile['notify-batch'] = $this->router->generate('track_download_batch');
             $this->rootFile['providers-url'] = $this->router->generate('home') . 'p/%package%$%hash%.json';
-            $this->rootFile['search'] = $this->router->generate('search', array('_format' => 'json')) . '?q=%query%';
+            $this->rootFile['search'] = $this->router->generate('search', array('_format' => 'json')) . '?q=%query%&type=%type%';
 
             if ($verbose) {
                 echo 'Dumping individual listings'.PHP_EOL;