I've created a hubdb and custom module to display my hubdb. I used orderBy=random() which works fine on some pages but not all pages. I would like to know how is it possible for example works fine on home page but not on About page.
In what way is it not working? Could it be a caching problem? Have you tried loading the page in incognito mode?
This is what the HubSpot developer docs say about the random filter:
"Please note:when using this filter, the page will beprerenderedperiodically rather than every time the page content is updated. This means that the filtered content willnotbe updated on every page reload.
This may not be an issue for certain types of content, such as displaying a random list of blog posts. However, if you need content to change randomly on every page load, you should instead use JavaScript to randomize the content client-side.