made 'logical operator' argument to storage server mandatory
This commit is contained in:
parent
75aa4cb59f
commit
82e09c51b3
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: fgerlits $
|
Author : $Author: fgerlits $
|
||||||
Version : $Revision: 1.2 $
|
Version : $Revision: 1.3 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storage/src/Attic/SearchCriteria.cxx,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storage/src/Attic/SearchCriteria.cxx,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -95,9 +95,7 @@ SearchCriteria :: operator XmlRpc::XmlRpcValue() const
|
||||||
XmlRpc::XmlRpcValue returnValue;
|
XmlRpc::XmlRpcValue returnValue;
|
||||||
|
|
||||||
returnValue["filetype"] = type;
|
returnValue["filetype"] = type;
|
||||||
if (searchConditions.size() > 1) {
|
returnValue["operator"] = logicalOperator;
|
||||||
returnValue["operator"] = logicalOperator;
|
|
||||||
}
|
|
||||||
|
|
||||||
XmlRpc::XmlRpcValue conditionList;
|
XmlRpc::XmlRpcValue conditionList;
|
||||||
conditionList.setSize(searchConditions.size());
|
conditionList.setSize(searchConditions.size());
|
||||||
|
|
Loading…
Reference in New Issue