|
|
|
@ -829,7 +829,7 @@ Connection.prototype._sort = function(which, sorts, criteria, cb) {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Connection.prototype.esearch = function(criteria, options, cb) {
|
|
|
|
|
this._search('UID ', criteria, options, cb);
|
|
|
|
|
this._esearch('UID ', criteria, options, cb);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Connection.prototype._esearch = function(which, criteria, options, cb) {
|
|
|
|
@ -1099,6 +1099,8 @@ Connection.prototype._resUntagged = function(info) {
|
|
|
|
|
this.state = 'authenticated';
|
|
|
|
|
else if (type === 'sort' || type === 'thread')
|
|
|
|
|
this._curReq.cbargs.push(info.text);
|
|
|
|
|
else if (type === 'esearch')
|
|
|
|
|
this._curReq.cbargs.push(info.text);
|
|
|
|
|
else if (type === 'search') {
|
|
|
|
|
if (info.text.results !== undefined) {
|
|
|
|
|
// CONDSTORE-modified search results
|
|
|
|
|