]> cat aescling's git repositories - mastodon.git/commit
Fix expiration date of filters being set to “Never” when editing them (#11204)
authorThibG <thib@sitedethib.com>
Sun, 30 Jun 2019 14:11:21 +0000 (16:11 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 30 Jun 2019 14:11:21 +0000 (16:11 +0200)
commit082b3b282f7863e4b10e9cb34624b4b167b75588
tree63a203c8c5e0225574e33c5e5757f3ac1753465b
parent06424786a140e03fcb899232c3c418b7eaf26d5e
Fix expiration date of filters being set to “Never” when editing them (#11204)

When editing a custom filter, select the shortest preset duration that
still covers the remaining time of that filter.

Fixes #9506
app/models/custom_filter.rb