Sorry xyzvisual, i had stopped working on that project for some days..
Now i have played again with this snippets without resolving the issue.
results seems not filtred from drop list.
Oops!! I see a new strange thing !:D :
I’ve
1 document in category 1
2 documents in category 2
...and in drop down list i have a duplicated of category 2:
category 1
category 2
category 2
..off course if I try to add a new document in category 2, appear a new category 2 in search drop down list
I sure that i’m doing something Wrong...but what?
Thanks