tenma 23512bea14 [CORE][ROUTES] Update urlmapper to search dynamic routes before static ones when generating URLs.
This solves the problem of routes that differ only in having
or not $_GET params. The ones not having params (static) were
being matched first during URL generation.

The way this problem was solved was by separating the $reverse
array in both $reverse_statics and $reverse_dynamics and explicitly
traversing this last one first in the generation function. Note that
maintaining the $reverse array and unshifting dynamic routes to its
head ( and therefore to the front of the static ones ) doesn't work
since even among dynamic routes the order of arrival should be kept.
2021-07-16 19:44:33 +01:00
..
2016-03-14 15:26:03 +01:00
2011-03-29 23:00:29 +02:00
2019-08-03 17:47:27 +01:00
2011-04-01 19:47:24 +02:00
2021-07-16 19:44:33 +01:00
2015-02-27 12:44:15 +01:00
2019-08-03 17:47:27 +01:00
2015-11-23 00:40:28 +01:00
2019-08-03 17:47:27 +01:00
2011-04-01 19:47:24 +02:00
2015-02-13 16:26:41 +01:00
2019-04-21 17:13:07 +01:00
2019-08-03 17:47:27 +01:00
2010-06-03 16:09:47 -07:00
2011-04-03 14:24:55 +02:00
2019-08-03 17:47:27 +01:00
2011-02-17 22:36:14 -08:00
2011-08-25 17:59:27 -04:00
2019-08-03 17:49:09 +01:00
2011-09-30 14:23:30 -04:00
2015-12-31 13:04:50 +01:00
2010-02-20 13:23:08 -05:00
2010-10-31 00:58:35 +02:00