kurokikaze/limestone — Issue #21: Error and problems setting filters
Author: darklow
Created: 2012-01-13 09:23:21+00:00
State: open

1) First there is an error in **limestone.js line 296**

```
request.push_lstring(filter.attr);
```

i think it sould be

```
request.push.lstring(filter.attr);
```

2) Even i fix the problem there is no way i can specify the simplest filters, like filter by type_id=3

If i try:

```
var filter = { 'type': Sphinx.filterTypes.VALUES, 'attr': 'type_id', values: [ 3 ] };
query_config['filters'] = [ filter ];
```

i receive "Search error"

Any ideas on correct syntax to specify filters?
Thanks