diff --git a/composer.lock b/composer.lock index 645194ae5a861e22ff2e7629878dc571f0f21ee5..39751a27dc149f05be1de70ba852b6e6b7e2cd58 100644 --- a/composer.lock +++ b/composer.lock @@ -358,12 +358,12 @@ "source": { "type": "git", "url": "https://github.com/summon/Summon.php.git", - "reference": "18840ee36537889269e22e4ef69561461547b6f1" + "reference": "40a47b759c81dd7db717c7b1ae457548f7a7290a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/summon/Summon.php/zipball/18840ee36537889269e22e4ef69561461547b6f1", - "reference": "18840ee36537889269e22e4ef69561461547b6f1", + "url": "https://api.github.com/repos/summon/Summon.php/zipball/40a47b759c81dd7db717c7b1ae457548f7a7290a", + "reference": "40a47b759c81dd7db717c7b1ae457548f7a7290a", "shasum": "" }, "type": "library", @@ -386,7 +386,7 @@ "source": "https://github.com/summon/Summon.php/tree/master", "issues": "https://github.com/summon/Summon.php/issues" }, - "time": "2013-11-08 13:57:56" + "time": "2013-11-08 15:54:31" }, { "name": "symfony/yaml", diff --git a/vendor/autoload.php b/vendor/autoload.php index 38a0b8aa6dd578225074a6e56321986671507936..da273bee403cca50e960642b29ef4bb649b6f78a 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer' . '/autoload_real.php'; -return ComposerAutoloaderInit211129ac86a6177525ebab59a9aa5a0c::getLoader(); +return ComposerAutoloaderInit605896a3d291a77b791906d44900b7c0::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 2c4c576889aa1ea86fc4a1f56d0b6206bbcd48d3..ebd476c23d30c55b31e744f517ff6b81f313899a 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit211129ac86a6177525ebab59a9aa5a0c +class ComposerAutoloaderInit605896a3d291a77b791906d44900b7c0 { private static $loader; @@ -19,9 +19,9 @@ class ComposerAutoloaderInit211129ac86a6177525ebab59a9aa5a0c return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit211129ac86a6177525ebab59a9aa5a0c', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit605896a3d291a77b791906d44900b7c0', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(); - spl_autoload_unregister(array('ComposerAutoloaderInit211129ac86a6177525ebab59a9aa5a0c', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit605896a3d291a77b791906d44900b7c0', 'loadClassLoader')); $vendorDir = dirname(__DIR__); $baseDir = dirname($vendorDir); diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 5bc183d2ccae8defe66f6dc239258eb3ace2ec27..c0234792c72a94d12b6cf6d21d9a00768aa4a951 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -525,44 +525,6 @@ ], "description": "The standard for machine-readable cataloging (MARC) records is documented at http://loc.gov/marc/. This package enables you to read existing MARC records from a file, string, or (using the YAZ extension), from a Z39.50 source. You can also use this package to create new MARC records.\n\nThis package is based on the PHP MARC package, originally called \"php-marc\", that is part of the Emilda Project (http://www.emilda.org). Christoffer Landtman generously agreed to make the \"php-marc\" code available under the GNU LGPL so it could be used as the basis of this PEAR package." }, - { - "name": "serialssolutions/summon", - "version": "dev-master", - "version_normalized": "9999999-dev", - "source": { - "type": "git", - "url": "https://github.com/summon/Summon.php.git", - "reference": "18840ee36537889269e22e4ef69561461547b6f1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/summon/Summon.php/zipball/18840ee36537889269e22e4ef69561461547b6f1", - "reference": "18840ee36537889269e22e4ef69561461547b6f1", - "shasum": "" - }, - "time": "2013-11-08 13:57:56", - "type": "library", - "installation-source": "source", - "autoload": { - "psr-0": { - "SerialsSolutions": "" - } - }, - "license": [ - "GPL-2.0" - ], - "authors": [ - { - "name": "Demian Katz", - "email": "demian.katz@villanova.edu" - } - ], - "description": "Library for interacting with Serials Solutions' Summon API.", - "support": { - "source": "https://github.com/summon/Summon.php/tree/master", - "issues": "https://github.com/summon/Summon.php/issues" - } - }, { "name": "zendframework/zendframework", "version": "2.2.5", @@ -682,5 +644,43 @@ "source": "https://github.com/zendframework/zf2/tree/release-2.2.5", "issues": "https://github.com/zendframework/zf2/issues" } + }, + { + "name": "serialssolutions/summon", + "version": "dev-master", + "version_normalized": "9999999-dev", + "source": { + "type": "git", + "url": "https://github.com/summon/Summon.php.git", + "reference": "40a47b759c81dd7db717c7b1ae457548f7a7290a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/summon/Summon.php/zipball/40a47b759c81dd7db717c7b1ae457548f7a7290a", + "reference": "40a47b759c81dd7db717c7b1ae457548f7a7290a", + "shasum": "" + }, + "time": "2013-11-08 15:54:31", + "type": "library", + "installation-source": "source", + "autoload": { + "psr-0": { + "SerialsSolutions": "" + } + }, + "license": [ + "GPL-2.0" + ], + "authors": [ + { + "name": "Demian Katz", + "email": "demian.katz@villanova.edu" + } + ], + "description": "Library for interacting with Serials Solutions' Summon API.", + "support": { + "source": "https://github.com/summon/Summon.php/tree/master", + "issues": "https://github.com/summon/Summon.php/issues" + } } ] diff --git a/vendor/serialssolutions/summon/SerialsSolutions/Summon/Query.php b/vendor/serialssolutions/summon/SerialsSolutions/Summon/Query.php index 799735b7f191f3f1a46449aecfa187da0ff988b0..d6865953346828ed2e35e3d355eeb9c6397d8284 100644 --- a/vendor/serialssolutions/summon/SerialsSolutions/Summon/Query.php +++ b/vendor/serialssolutions/summon/SerialsSolutions/Summon/Query.php @@ -129,6 +129,12 @@ class SerialsSolutions_Summon_Query */ protected $expand = false; + /** + * IDs to fetch in place of a regular query + * @var array + */ + protected $idsToFetch = array(); + /** * Constructor * @@ -174,6 +180,9 @@ class SerialsSolutions_Summon_Query 's.dym' => $this->didYouMean ? 'true' : 'false', 's.l' => $this->language, ); + if (!empty($this->idsToFetch)) { + $options['s.fids'] = implode(',', (array)$this->idsToFetch); + } if (!empty($this->facets)) { $options['s.ff'] = $this->facets; }