mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
9f532fe976
Sometimes GridState URL will have a query string already appended, e.g. "?local=en_GB", but the GridField javascript assumes there won't be. The result would be an action URL like: "/my/url?locale=en_US?RelatedPage=123" which is obviously invalid. The fix is to check that "?" exists in the GridState URL and use "&" instead to connect the URLs if that's the case.