Hi, It seems that the issue is introduced in Trac 1.2, https://github.com/edgewall/trac/commit/7180d2f87a961161a09551da60e0deed6b86441a
I'll fix it later. Thanks for the reporting! Jun Omae <[email protected]> (大前 潤) On Thu, Dec 25, 2025 at 2:23 Mama 4903 <[email protected]> wrote: > I would like to set the value of the `max_daysback` parameter to -1 to > have unlimited daysback, but it seems this is impossible in the code > because of the line: > > `daysback = req.args.as_int('daysback', default, min=1, > max=self.max_daysback)` > > Even if `max_daysback` is -1, the maximum allowed value for `daysback` > will be -1. However, the minimum value is fixed at 1 (`min=1`), so > `daysback` can never be greater than -1, making it impossible to select a > value greater than 1. > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/trac-users/41c4a313-9666-4f23-a913-ff1cb50f094fn%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/41c4a313-9666-4f23-a913-ff1cb50f094fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/trac-users/CAEVLMagQUh96etrfbx5Uq55yhc%2BHZPb-9iyTJ4q2_Oe9xC%2BVzw%40mail.gmail.com.
