SimpleExcel.php
[Pman.Core] / Pman.SearchTokenizer.js
index 5a0c3c5..8db0be1 100644 (file)
@@ -49,6 +49,10 @@ Pman.SearchTokenizer.prototype =  {
                
             }
         }
+        // sort tokens longest first..
+        
+        
+        
         // should not get here...
         return this.tokens;
     },
@@ -116,7 +120,7 @@ Pman.SearchTokenizer.prototype =  {
                 return;
             }
         }
-        this.tokens.push( { type : 's' , v : s });
+        this.tokens.push( { type : 's' , v : s, q: q });
     },
     
     getChar : function ()