View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006288 | mantisbt | filters | public | 2005-09-22 01:26 | 2006-02-04 05:54 |
Reporter | pardini | Assigned To | thraxisp | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | git trunk | ||||
Fixed in Version | 1.0.0rc3 | ||||
Summary | 0006288: Patch against CVS HEAD for Saved filter problem with view_state | ||||
Description | Related to Issue 0006280, after getting new filter_api.php from CVS head, problem with view_state persists when using a filter which was saved with 1.0.0rc1. | ||||
Tags | No tags attached. | ||||
Attached Files | filter_api.php.patch (762 bytes)
Index: core/filter_api.php =================================================================== RCS file: /var/lib/cvs/mantis/core/filter_api.php,v retrieving revision 1.4 diff -u -r1.4 filter_api.php --- core/filter_api.php 22 Sep 2005 01:58:38 -0000 1.4 +++ core/filter_api.php 22 Sep 2005 05:15:34 -0000 @@ -176,7 +176,7 @@ } } else { $t_view_state = db_prepare_int( $t_filter['view_state'] ); - if ( ( $t_filter['view_state'] != META_FILTER_ANY ) && ( !is_blank( $t_filter['view_state'] ) ) ) { + if ( ( $t_filter['view_state'] != META_FILTER_ANY ) && ( !is_blank( $t_filter['view_state'] ) ) && ( $t_filter['view_state'] != "0" ) ) { array_push( $t_where_clauses, "($t_bug_table.view_state='$t_view_state')" ); } } | ||||
thraxisp, can you check this, since it relates to your fix in 0006234? |
|
fixed in CVS on 1.0.0rc3 branch and HEAD core/filter_api.php -> 1.122.2.2 or 1.125 |
|