Project

General

Profile

Actions

Bug #7737

closed

An abuse group is (wrongly) autoselected when creating new filter

Added by Radko Krkoš 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
05/14/2024
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

When creating new filter, the group selector has a default value - the first item on the list. That does not make much sense in case someone may manage several groups, especially for administrators and maintainers, who can manage all groups. Nothing selected seems like a better option.


Related issues

Related to Mentat - Support #7673: Replace bootstrap-selectpickerClosedJakub Maloštik08/14/2023

Actions
Related to Mentat - Task #7751: Replace QuerySelectMultipleField by wtforms.SelectMultipleFieldClosedRajmund Hruška06/12/2024

Actions
Actions #1

Updated by Jakub Judiny 7 months ago

  • Status changed from New to In Progress
  • Assignee set to Jakub Judiny
Actions #2

Updated by Jakub Judiny 7 months ago

  • Assignee deleted (Jakub Judiny)

This will not be possible to do because of issues we have with TomSelect. If it will be empty from the start, it will still look like something is selected and user will still have to manually remove it. So the current state is much better (for most users).

Actions #3

Updated by Jakub Judiny 7 months ago

Actions #4

Updated by Jakub Judiny 7 months ago

  • Target version changed from Backlog to Future
Actions #5

Updated by Rajmund Hruška 7 months ago

  • Assignee set to Rajmund Hruška
  • Target version changed from Future to 2.13
Actions #6

Updated by Rajmund Hruška 7 months ago

Jakub Judiny wrote in #note-2:

This will not be possible to do because of issues we have with TomSelect. If it will be empty from the start, it will still look like something is selected and user will still have to manually remove it. So the current state is much better (for most users).

I think it is actually possible by using wtforms.SelectField instead of wtforms_sqlalchemy.QuerySelectField and a bit of refactoring. And we can get rid of the option Nothing selected being selected in GUI in that fields.

Actions #7

Updated by Rajmund Hruška 7 months ago

  • Status changed from In Progress to Resolved
Actions #8

Updated by Rajmund Hruška 6 months ago

  • Related to Task #7751: Replace QuerySelectMultipleField by wtforms.SelectMultipleField added
Actions #9

Updated by Rajmund Hruška 6 months ago

  • Status changed from Resolved to In Review
Actions #10

Updated by Rajmund Hruška 6 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF