Skip to content

Search/review posts by site #39

@double-beep

Description

@double-beep

Now that reports.sobotics.org is down, it's useful to search Sentinel for Stack Overflow posts without feedback. Would it be possible to search by site in /search? Something like:

Site
<div class="field input-group">
  <%= select_tag 'site', options_from_collection_for_select(Site.all, 'url', 'name'), :include_blank => true, :class => "form-control" %>
  <span class="input-group-btn">
    <%= submit_tag 'Search', :class => "btn btn-success" %>
  </span>
</div>
if params[:site].present?
  @results = @results.where('link LIKE ?', "%#{params[:site]}%")
end

Perhaps also add an option to filter posts by site in review, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions