Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics

Load a segment by default?

Hi, when opening the posts page in the admin panel, is it possible to display a saved segment by default?


9 months, 2 weeks ago

This is currently not possible with our plugin and in the GUI of our plugin.
But the segments are loaded, just by a param in the URL -> ac-segment={your-segment-name}.
So you could do an automatic redirect when this param is not in the URL on the list screen you want this to happen and redirect to the same URL with the segment set. Of course, you’ll have to write this in your own hook.

9 months, 2 weeks ago

Another solution would be to store the last picked segment as a preference. We do the same when sorting a column or picking a column set. When you return to your overview, it looks exactly the same as when you left it – sorted and all. Is that something that could be useful for segments?

– Tobias

9 months, 2 weeks ago

You must be logged in to reply to this topic.