View Issue Details

IDProjectCategoryView StatusLast Update
0006634mantisbtfilterspublic2006-02-04 05:44
Reportervisiware Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc5 
Fixed in Version1.0.0 
Summary0006634: Filter does not work with profiles
Description

in 1.0.0rc5 Filter does has no effects with profiles

Steps To Reproduce

on this mantis (bugs.mantisbt.org)
in View Issues,
in the filter area,
note the number of issues
choose a profil ( x86 Windows 2000 for example)
apply filter
the filter has no effect, there are still the same number of displayed issues
this bug was not present in 1.0.0rc4

TagsNo tags attached.

Activities

vboctor

vboctor

2006-01-28 07:31

manager   ~0012034

The following change seems to fix it:

core/filter_api.php line 481:

current: if ( ( META_FILTER_ANY == $t_filter_member ) || ( is_numeric( $t_filter_member ) ) ) {

fixed: if ( ( META_FILTER_ANY == $t_filter_member ) || ( !is_numeric( $t_filter_member ) ) ) {

added ! before is_numeric.

vboctor

vboctor

2006-01-28 08:53

manager   ~0012036

The right fix is:

if ( ( META_FILTER_ANY == $t_filter_member ) && ( is_numeric( $t_filter_member ) ) ) {