MantisBT - v3.0 Release
View Issue Details
0001275v3.0 Release[All Projects] Generalpublic2013-03-04 07:512013-08-28 11:17
Reportercarlosazevedo 
Assigned Tocaseydk 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.0.0 
Summary0001275: FIX: When a subfolder is clicked on 'Folder Explorer' it switches to the 'Application' tab
DescriptionThis is due to a decrement that is done on the $tab variable. The fix involves these changes in the file 'cleanup_functions.php' in 'includes'. Two of the changes are cummulative with a previous fix posted by me.

- $tab = ($m == 'files') ? $tab-1 : -1;
+ $temp_tab = ($m == 'files') ? $tab - 1 : -1;
- if (($tab >= 0) and ((count($file_types) - 1) > $tab)) {
+ if (($temp_tab >= 0) and ((count($file_types) - 1) > $temp_tab)) {
- $q->addWhere('file_category = ' . (int)$tab);
+ $q->addWhere('file_category = ' . (int)$temp_tab);
    }

- if (($tab >= 0) and ((count($file_types) - 1) > $tab)) {
+ if (($temp_tab >= 0) and ((count($file_types) - 1) > $temp_tab)) {
- $qv->addWhere('file_category = ' . (int)$tab);
+ $qv->addWhere('file_category = ' . (int)$temp_tab);
    }
TagsNo tags attached.
Attached Files

Notes
(0002839)
caseydk   
2013-03-04 22:51   
Resolved as described:
https://github.com/web2project/web2project/commit/88722d1e54e94d1b6cb1bd6bcd6e46152965a0b4

Issue History
2013-03-04 07:51carlosazevedoNew Issue
2013-03-04 22:51caseydkNote Added: 0002839
2013-03-04 22:51caseydkStatusnew => resolved
2013-03-04 22:51caseydkResolutionopen => fixed
2013-03-04 22:51caseydkAssigned To => caseydk
2013-08-28 11:14caseydkFixed in Version => 3.0.0
2013-08-28 11:17caseydkStatusresolved => closed