php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68179 Argument list parameter: Argument to value separator disappears sometimes
Submitted: 2014-10-07 16:45 UTC Modified: 2014-10-07 16:45 UTC
From: omars@php.net Assigned: omars (profile)
Status: Closed Package: solr (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: omars@php.net
New email:
PHP Version: OS:

 

 [2014-10-07 16:45 UTC] omars@php.net
Description:
------------
Using any argument list parameter
The separator disappears
For using price ASC for instance
the end result is priceasc

Test script:
---------------
$dismaxQuery = new SolrDisMaxQuery('score');
$dismaxQuery->addSortField('price', SolrQuery::ORDER_ASC);
$dismaxQuery->addSortField('score', SolrQuery::ORDER_DESC);
echo $dismaxQuery.PHP_EOL;

Expected result:
----------------
q=score&sort=price asc,score desc

Actual result:
--------------
q=score&sort=priceasc,score desc

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-07 16:45 UTC] omars@php.net
-Assigned To: +Assigned To: omars
 [2014-10-07 21:04 UTC] omars@php.net
Automatic comment on behalf of omars
Revision: http://git.php.net/?p=pecl/search_engine/solr.git;a=commit;h=ed4df8aa1164ef039f95acf2ef7d2b42882fb60e
Log: Fix bug #68179 test case
 [2014-10-07 21:04 UTC] omars@php.net
-Status: Assigned +Status: Closed
 [2014-11-09 22:18 UTC] omars@php.net
Automatic comment on behalf of omars
Revision: http://git.php.net/?p=pecl/search_engine/solr.git;a=commit;h=ed4df8aa1164ef039f95acf2ef7d2b42882fb60e
Log: Fix bug #68179 test case
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC