Project

General

Profile

Feature #2350 ยป add_quickjump_to_changeset_in_search-r2147.diff

Patch created against r2147. - Mischa The Evil, 2008-12-21 14:43

View differences:

app/controllers/search_controller.rb (working copy)
return
end
# quick jump to a changeset
if @question.match(/^r(\d+)$/) && @project && Repository.find_by_project_id(@project) && Changeset.find_by_revision($1)
redirect_to :controller => "repositories", :action => "revision", :id => @project, :rev => $1
return
end
@object_types = %w(issues news documents changesets wiki_pages messages projects)
if projects_to_search.is_a? Project
# don't search projects
    (1-1/1)