def fetch_and_filter_tags
      since_tag
      due_tag

      all_tags = @fetcher.get_all_tags
      fetch_tags_dates(all_tags) # Creates a Hash @tag_times_hash
      all_sorted_tags = sort_tags_by_date(all_tags)

      @sorted_tags   = filter_excluded_tags(all_sorted_tags)
      @filtered_tags = get_filtered_tags(@sorted_tags)

      # Because we need to properly create compare links, we need a sorted list
      # of all filtered tags (including the excluded ones). We'll exclude those
      # tags from section headers inside the mapping function.
      section_tags = get_filtered_tags(all_sorted_tags)

      @tag_section_mapping = build_tag_section_mapping(section_tags, @filtered_tags)

      @filtered_tags
    end
def fetch_and_filter_tags
      since_tag
      due_tag

      all_tags = @fetcher.get_all_tags
      fetch_tags_dates(all_tags) # Creates a Hash @tag_times_hash
      all_sorted_tags = sort_tags_by_date(all_tags)

      @sorted_tags   = filter_excluded_tags(all_sorted_tags)
      @filtered_tags = get_filtered_tags(@sorted_tags)

      # Because we need to properly create compare links, we need a sorted list
      # of all filtered tags (including the excluded ones). We'll exclude those
      # tags from section headers inside the mapping function.
      section_tags = get_filtered_tags(all_sorted_tags)

      @tag_section_mapping = build_tag_section_mapping(section_tags, @filtered_tags)

      @filtered_tags
    end
def fetch_and_filter_tags since_tag due_tag all_tags = @fetcher . get_all_tags fetch_tags_dates ( all_tags ) # Creates a Hash @tag_times_hash all_sorted_tags = sort_tags_by_date ( all_tags ) @sorted_tags = filter_excluded_tags ( all_sorted_tags ) @filtered_tags = get_filtered_tags ( @sorted_tags ) # Because we need to properly create compare links, we need a sorted list # of all filtered tags (including the excluded ones). We'll exclude those # tags from section headers inside the mapping function. section_tags = get_filtered_tags ( all_sorted_tags ) @tag_section_mapping = build_tag_section_mapping ( section_tags , @filtered_tags ) @filtered_tags end
fetch, filter tags, fetch dates and sort them in time order
fetch filter tags fetch dates and sort them in time order