Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter with type checkboxes doesn't work #4474

Closed
Jimmi08 opened this issue Apr 1, 2021 · 0 comments · Fixed by #5048
Closed

Filter with type checkboxes doesn't work #4474

Jimmi08 opened this issue Apr 1, 2021 · 0 comments · Fixed by #5048
Labels
core: Admin-UI type: bug A problem that should not be happening
Milestone

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Apr 1, 2021

Bug Description

With type checkboxes filter doesn't work..
It happened for custom plugin, but you can simulate with news too.

		'catid'                   => array (  'title' => LAN_CHOOSECAT,  
                    'type' => 'checkboxes',  
                    'data' => 'str',  
                    'filter' => true, 
		            'width' => 'auto',  
                    'inline'=>'1',
                    'help' => '',  
                    'readParms'=>array('type'=>'checkboxes'),  
		            'writeParms' =>  array ('multiple'=>'1', 'useKeyValues' => 1 
         ), 

Result:
image

How to Reproduce

Just switch dropdown for news_render_type in news admin to checkboxes. The same result.

	 'news_render_type'		=> array('title' => LAN_LOCATION, 	
        'type' => 'checkboxes',  'data'=>'safestr',  'tab'=>2,  'inline'=>true, 
        'readParms'=>array('type'=>'checkboxes'), 'width' => 'auto', 	'thclass' => 'left', 		
        'class' => 'left', 		'nosort' => false, 'batch'=>true, 'filter'=>true),

image

For batch it looks:
image

PHP 7.2

Thanks

@Jimmi08 Jimmi08 added the type: bug A problem that should not be happening label Apr 1, 2021
@CaMer0n CaMer0n added this to the e107 2.3.3 milestone Aug 16, 2023
CaMer0n added a commit that referenced this issue Aug 16, 2023
Fixes #4474 Admin-UI checkboxes with filter and batch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core: Admin-UI type: bug A problem that should not be happening
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants