(fix) we now return all cards when we receive an empty addressbook-query REPORT
parent
2ee09159a2
commit
907c30061f
1
NEWS
1
NEWS
|
@ -13,6 +13,7 @@ Bug fixes
|
||||||
- correctly handle the References header over EAS (#3365)
|
- correctly handle the References header over EAS (#3365)
|
||||||
- make sure English is always used when generating Date headers using EAS (#3356)
|
- make sure English is always used when generating Date headers using EAS (#3356)
|
||||||
- don't escape quoted strings during versit generation
|
- don't escape quoted strings during versit generation
|
||||||
|
- we now return all cards when we receive an empty addressbook-query REPORT
|
||||||
|
|
||||||
2.3.2 (2015-09-16)
|
2.3.2 (2015-09-16)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
/* NSObject+CardDAV.h - this file is part of SOGo
|
/* NSObject+CardDAV.h - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 Inverse inc.
|
* Copyright (C) 2007-2015 Inverse inc.
|
||||||
*
|
|
||||||
* Author: Ludovic Marcotte <ludovic@inverse.ca>
|
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
/* NSObject+CardDAV.m - this file is part of SOGo
|
/* NSObject+CardDAV.m - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2011 Inverse inc.
|
* Copyright (C) 2007-2015 Inverse inc.
|
||||||
*
|
|
||||||
* Author: Ludovic Marcotte <ludovic@inverse.ca>
|
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -187,6 +185,10 @@
|
||||||
[filters addObject: filter];
|
[filters addObject: filter];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If no filters are provided, we return everything.
|
||||||
|
if (![filters count])
|
||||||
|
[filters addObject: [NSDictionary dictionaryWithObject: @"." forKey: @"mail"]];
|
||||||
|
|
||||||
return filters;
|
return filters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue