Hide Time search?

12 views
Skip to first unread message

David Osborne

unread,
Apr 8, 2020, 8:24:09 AM4/8/20
to Arches Project
We're not planning to use the time filter or time wheel facility in our project: is it possible to disable or hide it?
(Arches 4.4.2)

David

Dennis Wuthrich

unread,
Apr 8, 2020, 12:14:27 PM4/8/20
to Arches Project
David,

In Arches v5 search filters are modular, so yes you can remove the time filter.

The easiest way to do this is to remove the record for the time filter from the search_component table in your Arches postrgres database.  The SQL is simple: DELETE FROM search_component WHERE name = 'Time Filter'.

Note that you can always add it back later if you change your mind!

Good Luck,

Dennis

David Osborne

unread,
Apr 8, 2020, 12:52:53 PM4/8/20
to Arches Project
Thanks, Dennis, but we're on Arches 4.4.2 as I mentioned and there's no search_component table in our database. Does that mean it's not possible in Arches 4.x?

David

Dennis Wuthrich

unread,
Apr 8, 2020, 1:03:26 PM4/8/20
to Arches Project
David,

Sorry, I somehow missed that you're on v4.4.2.

There's no equivalent way to disable the time search in v4 (e.g: no search_components table, as you've discovered).  An ugly hack would be to simply set the style on the time filter button to display: none;  This will, of course, simply hide the button in the browser.

-Dennis

David Osborne

unread,
Apr 9, 2020, 9:33:57 AM4/9/20
to Arches Project
Hiding the button in the browser does what we need. Thanks, Dennis, that worked perfectly!

David
Reply all
Reply to author
Forward
0 new messages