Changeset 708729d


Ignore:
Timestamp:
01/29/08 15:55:38 (9 years ago)
Author:
benoitg <benoitg@…>
Branches:
('master', '490da607341fc912953151a06bff77650ca214bb')('vitrine', '64aced58f2abea1ed48aa3134c125a714fe507cf')
Children:
ad2956f858913812c40b1d3f4ba7ae6c90c149d8
Parents:
15eeac256290a1995ee2a9d4ecd7ec4384e0eb53
git-author:
benoitg <benoitg@9a151f2f-a8df-0310-a5c5-9fb547312938>2008-01-29 20:55:38+00:00
git-committer:
benoitg <benoitg@9a151f2f-a8df-0310-a5c5-9fb547312938>2008-01-29 20:55:38+00:00
Message:
  • Fix a second bug where NOT theme limit was neither the first limit nor alone.

git-svn-id: http://projects.coeus.ca/svn/eureka@495 9a151f2f-a8df-0310-a5c5-9fb547312938

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r43d08a5 r708729d  
    11# $Id: $ 
     22008-01-29: Benoit Grégoire  <bock@step.polymtl.ca> 
     3        * Fix a second bug where NOT theme limit was neither the first limit nor alone. 
     4         
    252008-01-21: Benoit Grégoire  <bock@step.polymtl.ca> 
    36        * Make DC export more resistant to URLs with parameters. 
  • trunk/php/classes/SearchEngine.php

    r43d08a5 r708729d  
    329329            //Filter NOTs.  Notice special case if they are first in the query 
    330330            $sql_operator = 'NOT'; 
    331             $localFirst?$sql_intersect = "$sql_operator":$sql_intersect = $sql_operator; 
     331            $localFirst?$sql_intersect = "$sql_operator":$sql_intersect = "AND $sql_operator"; 
    332332            $localFirst = false; 
    333333            $candidate_query .= "$sql_intersect ($sql)\n"; 
Note: See TracChangeset for help on using the changeset viewer.