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

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

-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".


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

[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

  • Beni at Oct 27, 2011 at 12:41 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18909&edit=1

    ID: 18909
    Updated by: beni@php.net
    Reported By: mrjerryzz at gmail dot com
    Summary: Adding "not" filter to search
    -Status: Assigned
    +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:
    +Roadmap Versions: 2.1.0
    New Comment:

    -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.




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

    [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;

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 27, '11 at 12:41p
activeOct 27, '11 at 12:41p
posts2
users1
websitepear.php.net

1 user in discussion

Beni: 2 posts

People

Translate

site design / logo © 2022 Grokbase