HubDB & Hubl: Sort by most recently added with &orderBy=-hs_created_at

No long story. You know it’s available, but documentation is all over the board with mixed verbiage and gets a little tricky to reason out query params — orderBy + createdAt.

Turns out there is a prefix and a minus to flip the order to most recent.

Try this:

{% for row in hubdb_table_rows(‘name_of_hubdb’, ‘&orderBy=-hs_created_at’) %}

Good luck √ Hope this helps + Pass it on

--

--

UX & Web mgr for a S&P 500 Fintech & COO of Side Role, a marketing agency partnering w In-house Teams & Agencies, Non-profits, & Start-Ups. https://siderole.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
CR Rollyson

UX & Web mgr for a S&P 500 Fintech & COO of Side Role, a marketing agency partnering w In-house Teams & Agencies, Non-profits, & Start-Ups. https://siderole.com