Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
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?


5 years, 4 months ago
Stefan van den Dungen Gronovius

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.

5 years, 4 months ago
Tobias Schutter

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

5 years, 4 months ago

You must be logged in to reply to this topic.