[Bug] set_route_filters with url is not working

about Frappe repo version-14 branch

  1. Test with commit a619019

filter is not working with commit hash a61901913ec0ceb3d20f26e6df7bee77686eb48f

  1. Test with commit 8e11483

filter is working good with commit hash 8e11483aaa2824b740cc2cbfacff1c24bfb430d5


I think route filter not worked since this code was applied.

Hello,

Please can you share the video and steps?

We are not able to replicate on our side.

Thankyou!

https://imgur.com/a/WhZh9Sn

Working good with
CleanShot 2025-05-23 at 16.27.08

Not working with async await
CleanShot 2025-05-23 at 16.27.28

When you refresh it first time it was working but second time filters are not setting? Right?

When the commit hash is 8e11483aaa2824b740cc2cbfacff1c24bfb430d5, the filter in the URL parameter is correctly set during the refresh.

However, when the commit hash is a61901913ec0ceb3d20f26e6df7bee77686eb48f, the filter is not set during the refresh. In the attached video, the first refresh is shown, followed by the second refresh, where the git checkout command is used to switch the repository’s branch in order to change the git head for testing.

Hi,

Does this fix work for you?