View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
18462Bug reportsErgonomypublic2023-05-24 11:44
ReporterMazi Assigned Totibor.pacalat  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version3.28.x 
Summary18462: Missing option to search for survey groups at list survey screen
Description

At larger systems with many survey groups, searching for a certain survey group name is not possible.
For adding languages or selecting a different survey owner there is a very nice feature which opens a dropdown with a search field (see screenshot). It would make perfect sense to apply this to the group filter dropdown at the "List surveys" screen as well.
This should be easy to implement and help users a lot.

Steps To Reproduce

Steps to reproduce

At the list surveys screen check the survey groups dropdown.

Expected result

Have a search field available at the dropdown to search for a special survey group.

Actual result

We only have a weirdly ordered dropdown with no search field.

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)3.28.32
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMariaDB 10.1.48
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP 7.4

Relationships

related to 18456 closedtibor.pacalat Interface language parmater use exotic dropdown list. 
related to 18461 closedadamzammit Survey groups at survey list screen should be listed alphabetically 

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2022-11-05 13:15

updater   ~72573

@gabrieljenik: I do not know the code details for applying a search field e.g. to "Survey admin" at the "General Settings". But is it difficult to apply this to any other dropdown at the interface?

ollehar

ollehar

2022-11-07 11:43

administrator   ~72591

Last edited: 2022-11-07 11:43

New feature rather? Even if it's small.

Mazi

Mazi

2022-11-07 12:08

updater   ~72599

@ollehar, many LS3 users would benefit from this and I do not think that you can actually break something when applying a search already used for other elements so we'd really appreciate if this could be seen as helpful UI improvement.
The adjustment should be really minor.

ollehar

ollehar

2022-11-07 12:13

administrator   ~72602

LS3 will not be LTS for much longer, so. Not sure we wanna waste money on that. Unless someone from the outside makes a PR, of course. Maybe the LS5 PR can be copied. :)

Mazi

Mazi

2022-11-07 13:04

updater   ~72603

@ollehar: If you do the LS 5.x fix, we will take care of the LS 3.x PR.

gabrieljenik

gabrieljenik

2023-01-26 15:14

manager   ~73583

Actual result
We only have a weirdly ordered dropdown with no search field.

Dropdown is ordered alphabetically now.

@gabrieljenik: I do not know the code details for applying a search field e.g. to "Survey admin" at the "General Settings". But is it difficult to apply this to any other dropdown at the interface?

What you ask is adding a Select2 feature to the current dropdown, so you can search through the dropdown items more easily, right?

I will leave @ollehar to say if we can move forward with it.

gabrieljenik

gabrieljenik

2023-01-27 12:47

manager   ~73590

If adding it, I would also add it to the survey copying screen, to the dropdown to select a survey

Mazi

Mazi

2023-01-27 16:43

updater   ~73593

That makes sense, @gabrieljenik!

Mazi

Mazi

2023-04-11 12:21

updater   ~74456

@ollehar @gabrieljenik, what's the current status? Can we turn the select into a searchable select2 field like it is done at other parts of the UI?

gabrieljenik

gabrieljenik

2023-04-11 20:53

manager   ~74462

I was waiting for release of Bootstrap 5,

DenisChenu

DenisChenu

2023-04-12 08:23

developer   ~74468

What you ask is adding a Select2 feature to the current dropdown, so you can search through the dropdown items more easily, right?

See https://github.com/LimeSurvey/LimeSurvey/pull/3012

I review to go to 6 (again …)

After : just add activate-search class on a dropdown

gabrieljenik

gabrieljenik

2023-05-19 20:02

manager   ~75119

Last edited: 2023-05-19 20:02

Master: https://github.com/LimeSurvey/LimeSurvey/pull/3159

guest

guest

2023-05-24 11:43

viewer   ~75206

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34716

guest

guest

2023-05-24 11:43

viewer   ~75207

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34715

tibor.pacalat

tibor.pacalat

2023-05-24 11:44

administrator   ~75209

tested and merged

Related Changesets

LimeSurvey: master 141aa929

2023-05-24 13:41

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 18462: Missing option to search for survey groups at list survey screen. (#3159)

Css class activate-search added to select in order to add select2.

Co-authored-by: Lapiu Dev <devgit@lapiu.biz>
Affected Issues
18462
mod - application/extensions/admin/survey/ListSurveysWidget/views/searchBox.php Diff File

LimeSurvey: master 141aa929

2023-05-24 13:41

Gabriel Jenik

Committer: GitHub


Details Diff
Fixed issue 18462: Missing option to search for survey groups at list survey screen. (#3159)

Css class activate-search added to select in order to add select2.

Co-authored-by: Lapiu Dev <devgit@lapiu.biz>
Affected Issues
18462
mod - application/extensions/admin/survey/ListSurveysWidget/views/searchBox.php Diff File

Issue History

Date Modified Username Field Change
2022-11-05 13:13 Mazi New Issue
2022-11-05 13:13 Mazi Relationship added related to 18461
2022-11-05 13:15 Mazi Note Added: 72573
2022-11-05 13:15 Mazi Bug heat 0 => 2
2022-11-07 11:43 ollehar Note Added: 72591
2022-11-07 11:43 ollehar Bug heat 2 => 4
2022-11-07 11:43 ollehar Note Edited: 72591
2022-11-07 11:43 ollehar Priority none => normal
2022-11-07 12:08 Mazi Note Added: 72599
2022-11-07 12:13 ollehar Note Added: 72602
2022-11-07 13:04 Mazi Note Added: 72603
2022-11-07 15:18 gabrieljenik Status new => acknowledged
2023-01-26 15:14 gabrieljenik Note Added: 73583
2023-01-26 15:14 gabrieljenik Bug heat 4 => 6
2023-01-27 12:47 gabrieljenik Note Added: 73590
2023-01-27 16:43 Mazi Note Added: 73593
2023-04-11 12:21 Mazi Note Added: 74456
2023-04-11 13:12 ollehar Assigned To => gabrieljenik
2023-04-11 13:12 ollehar Status acknowledged => assigned
2023-04-11 20:53 gabrieljenik Note Added: 74462
2023-04-11 20:54 gabrieljenik Relationship added related to 18456
2023-04-12 08:23 DenisChenu Note Added: 74468
2023-04-12 08:23 DenisChenu Bug heat 6 => 8
2023-05-19 20:00 DenisChenu Assigned To gabrieljenik =>
2023-05-19 20:00 DenisChenu Status assigned => ready for testing
2023-05-19 20:02 gabrieljenik Assigned To => gabrieljenik
2023-05-19 20:02 gabrieljenik Status ready for testing => ready for code review
2023-05-19 20:02 gabrieljenik Note Added: 75119
2023-05-19 20:02 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-05-19 20:02 gabrieljenik Note Edited: 75119
2023-05-19 20:05 DenisChenu Assigned To DenisChenu =>
2023-05-19 20:05 DenisChenu Status ready for code review => ready for testing
2023-05-23 18:18 gabrieljenik Assigned To => tibor.pacalat
2023-05-23 18:18 gabrieljenik Status ready for testing => ready for merge
2023-05-24 11:43 Changeset attached => LimeSurvey master 141aa929
2023-05-24 11:43 Changeset attached => LimeSurvey master 141aa929
2023-05-24 11:43 guest Note Added: 75206
2023-05-24 11:43 guest Note Added: 75207
2023-05-24 11:43 guest Bug heat 8 => 10
2023-05-24 11:43 guest Bug heat 8 => 10
2023-05-24 11:44 tibor.pacalat Status ready for merge => closed
2023-05-24 11:44 tibor.pacalat Resolution open => fixed
2023-05-24 11:44 tibor.pacalat Note Added: 75209
2023-05-24 11:44 tibor.pacalat Bug heat 10 => 12