FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18909&edit=1

ID: 18909
Comment by: mrjerryzz@gmail.com
Reported By: mrjerryzz at gmail dot com
Summary: Adding "not" filter to search
Status: Closed
Type: Feature/Change Request
Package: Net_LDAP2
Operating System: Linux
Package Version: 2.0.11
PHP Version: 5.1.3
Assigned To: beni
Roadmap Versions:
New Comment:

Thanks


Previous Comments:
------------------------------------------------------------------------

[2011-10-27 14:40:24] beni

-Status: Assigned
+Status: Closed
-Roadmap Versions:
+Roadmap Versions: 2.1.0
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

------------------------------------------------------------------------

[2011-10-27 14:40:09] beni

-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: beni
Bug is not applicable; negation is done throug
Net_LDAP2_Filter2::combine() after creating the positive defined
filter.

However, your change request lead me to the conclusion, that such a
negation feature would be handy. I implemented it in SVN. Now you can
make a simple negative filter by saying for example "not equal".

------------------------------------------------------------------------

[2011-10-14 10:38:19] jerryzz

Description:
------------
Filter "not" is missing in Filter.php


Expected result:
----------------
Add this, Filter.php, line 199

case 'not':
$leaf_filter->_filter = '(!(' . $attr_name . '=' . $value .
'))';
break;

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 24, '11 at 1:44p
activeNov 24, '11 at 1:44p
posts1
users1
websitepear.php.net

1 user in discussion

Mrjerryzz: 1 post

People

Translate

site design / logo © 2022 Grokbase