Hello. I noticed there is a problem/bug/maybe feature ( to be implemented ).
When I select an option, it redirects me to that page, but resets the options on the select, not showing me the last selected.

Comments

PushaMD created an issue. See original summary.

replicaobscura’s picture

Great point! I think it's a feature request, but one that I think absolutely should be implemented. I'll look into implementing this ASAP unless anyone else submits a patch first.

Thanks for the suggestion!

jcnventura’s picture

Status: Active » Postponed
devkinetic’s picture

Looking for this!

csjames’s picture

Attaching a patch for this, no test included.

jcnventura’s picture

Status: Postponed » Needs review
acbramley’s picture

Issue tags: +Needs tests
StatusFileSize
new2.29 KB

Patch #5 doesn't work for entity links as the comparison is comparing against a Url object. We also don't need to get the current path inside the loop.

Definitely would be good to get some tests rolling for this too.

No interdiff as there was some fuzz between patches.

acbramley’s picture

StatusFileSize
new2.29 KB
new609 bytes

Using path.current returns the system path which doesn't work when e.g a node has an alias.