Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit ef286fe

Browse files
committed
Merge pull request #6 from ale110/patch-1
Updated allowed params in search() method
2 parents b57823b + 25524df commit ef286fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Discogs/Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function __construct(Client $client = null, $itemsPerPage = 50, $isEnable
7777
public function search(array $options = array())
7878
{
7979
$legal = array(
80-
'q', 'artist', 'release_title', 'label', 'title', 'catno', 'barcode', 'year', 'type'
80+
'q', 'type', 'title', 'release_title', 'credit', 'artist', 'anv', 'label', 'genre', 'style', 'country', 'year', 'format', 'catno', 'barcode', 'track', 'submitter', 'contributor'
8181
);
8282
$params = array();
8383
foreach ($options as $key => $value) {

0 commit comments

Comments
 (0)