Ok, you did not understand what i wanted from you ![]()
Look!
- You have connected your dataset to a specific DATABASE and surely to a REPEATER or TABLE, too.
- You run a filtration…
- Your REPEATER or TABLE showing the RESULTS!
Now i wanted you to console-log the results instead of showing me your setup ![]()
However, let me show you a minimalistic example, to demonstrate you how you can get the RESULTS after running a filter…
EXAMPLE-CODE:
import wixData from 'wix-data';
$w.onReady(function () {
let productFilter = wixData.filter();
productFilter = productFilter.eq("title", "PRESIDENT")
console.log(productFilter)
$w('#dataset1').setFilter(productFilter).then((results) =>{
console.log("Results: ", results)
console.log($w('#repeater3').data)
});
});
Here you can see an example-code, which will show you all the MAGIC.
-
The dataset1 is connected to a REPEATER and to a specific DATABASE in this case to a BADGE-DATABASE, where several BADGES are stored.
-
Now you generate a FILTER and run that filter, but if you console.log the results, you will recognize that you get no real results after running the filter.
This one → console.log(productFilter) → shows you as RESULT …

So you can’t really use this for further action!
And this console-log → .then((results) =>{console.log("Results: ", results) shows you
![]()
So you have got any RESULTS you can continue to work with! Everything until here is useless!
But what about our REPEATER or TABLE which are connected to our DATASET?
Let’s console-log it and see what happens !!! —> console.log($w(‘#repeater3’).data)
And this is the result, which you will get (in this case)…
You now can the the found ITEM and all its filtered DATA ! ! !
Ok! Lets expand the console-functionality and add some more console-logs to inspect a little bit more in DETAIL!!!
let item1 = $w('#repeater3').data[0]
console.log(item1.id)
console.log(item1.title)
So your current code would be…
import wixData from 'wix-data';
$w.onReady(function () {
let productFilter = wixData.filter();
productFilter = productFilter.eq("title", "PRESIDENT")
console.log(productFilter)
$w('#dataset1').setFilter(productFilter).then((results) =>{console.log("Results: ", results)
console.log($w('#repeater3').data)
let item1 = $w('#repeater3').data[0]
console.log(item1.id)
console.log(item1.title)
});
});
And this would be your RESULTS!
Now do the same technique on your own DATASET and REPEATER or TABLE!
And you will surely find a way of how to continue!
Good-luck!![]()
Of course you could also use → a normal wix-data-query to get your RESULTS, this would be your alternative way.

