Support

Search results for ""

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

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?

Thanks

2 years, 7 months ago
Stefan
Developer

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.

2 years, 7 months ago
Tobias
Developer

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

2 years, 7 months ago

You must be logged in to reply to this topic.