# Ability to filter to top 10

**URL:** <https://forum.adalo.com/t/ability-to-filter-to-top-10/4922>\
**Category:** Get Help\
**Created:** [October 15, 2020, 2:12am UTC](https://forum.adalo.com/t/ability-to-filter-to-top-10/4922 "2020-10-15T02:12:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lesliefenwick](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@lesliefenwick](https://forum.adalo.com/u/lesliefenwick)\
**Post date:** [October 15, 2020, 2:12am UTC](https://forum.adalo.com/t/ability-to-filter-to-top-10/4922/1 "2020-10-15T02:12:32Z")

</div>

Hi all,

I’m attempting to build an auction app and on the auctions tab, I want to filter to only include the top 10 items by likes. The premise is to have my users like products and then on Fridays or at a certain time of the day it locks the top 10 liked items and puts them up for auction.

I have a `Purchased` boolean and a count of `Likes` but not sure how to lock to the top ten…

Any help is appreciated 🙂

---

<div class="post-metadata">

**Author:** ![parasocks](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/parasocks/32/3055_2.png) [@parasocks](https://forum.adalo.com/u/parasocks)\
**Post date:** [October 15, 2020, 2:26am UTC](https://forum.adalo.com/t/ability-to-filter-to-top-10/4922/2 "2020-10-15T02:26:15Z")

</div>

So I think you could make a list that only shows 10 results, sorted by likes, then trigger an action using the Countdown Timer component in the Adalo Marketplace. The action would set records in a collection using the results of the variables at the time they were called and timestamp them.

Here’s resident expert @Victor showing how to use the countdown timer as a trigger.

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/1/172cdfc5f8bb6458e438929dcb311094d945fd2b.jpeg "Adalo hints: simple mass delete (countdown timer tricks, part 1)") ](https://www.youtube.com/watch?v=dpORKAPF-tE)

---

<div class="post-metadata">

**Author:** ![lesliefenwick](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@lesliefenwick](https://forum.adalo.com/u/lesliefenwick)\
**Post date:** [October 15, 2020, 2:33am UTC](https://forum.adalo.com/t/ability-to-filter-to-top-10/4922/3 "2020-10-15T02:33:36Z")

</div>

Awesome! Thanks for the video!

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [October 15, 2020, 10:14am UTC](https://forum.adalo.com/t/ability-to-filter-to-top-10/4922/4 "2020-10-15T10:14:20Z")

</div>

Hi @lesliefenwick @parasocks  
Just in case - I’ve published another tutorial reg. mass update of the values:

> [@Bulk operations and Timer Tricks, part 3: mass update for the records](https://forum.adalo.com/t/bulk-operations-and-timer-tricks-part-3-mass-update-for-the-records/4937):
>
> Please see another trick which could be done with the help of countdown timer: mass update for records in the collection. This could be useful when you want to change the value of one property for all/some of the records, and don’t want to do it one-by-one. The example is pretty simple, but the same logic could be applied to more different cases. Enjoy! [[Adalo hints: how to "mass update" records in the collection with the help of countdown timer] ](https://www.youtube.com/watch?v=0OLszLhb_7k)

I upvote @parasocks suggestion. The only note - you will have to run this routine manually each Friday - there is no cron or similar tool in Adalo yet (cron performs tasks on schedule).  
Theoretically, you could make some sort of automation, triggering this job to the user who first opens the app on Friday… but that’s probably over-engineering 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [October 25, 2020, 10:14am UTC](https://forum.adalo.com/t/ability-to-filter-to-top-10/4922/5 "2020-10-25T10:14:28Z")

</div>

Closed on October 25, 2020, 10:14am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
