Revision 773:c761e467a390

View differences:

vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb
40 40
          @offset ||= @project_pages.current.offset
41 41
        end
42 42

  
43
        def set_fieldset_status(field, status)
44
          session[(field + "_status").to_sym] = status
45
        end
46

  
47
        # gets the status of the collabsible fieldsets
48
        def get_fieldset_statuses      
49
          if session[:filter_status].nil?
50
            @filter_status = session[:filter_status]
51
          else
52
            @filter_status = false
53
          end
54
          
55
          if session[:myproj_status].nil?          
56
            @myproj_status = session[:myproj_status]
57
          else
58
            @myproj_status = true
59
          end                  
60
        end
43 61

  
44 62
        # Lists visible projects. Paginator is for top-level projects only
45 63
        # (subprojects belong to them)
46 64
        def filtered_index
47 65
          @project = Project.new
48 66
          filter_projects
49

  
50
          debugger
67
          get_fieldset_statuses
51 68

  
52 69
          respond_to do |format|
53 70
            format.html { 

Also available in: Unified diff