 class ConsiderIt.BrowsablePointListView extends ConsiderIt.PointListView
   @browsing_template : _.template($('#tpl_pointlistbrowse').html())
   @browsing_header_template : _.template( $('#tpl_pointlistbrowse_header').html() )
+  @points_per : 3
 
   initialize : () ->
     super

  render : () ->
    super
    @collection.info()
    @is_pro = @$el.parent().is('.m-reasons-peer-points-pros')

    @$browse_el.remove() if @$browse_el?

    @$browse_el = $('<div class="m-pointlist-browse">')

    @$browse_el.html ConsiderIt.BrowsablePointListView.browsing_template({
      pros : @is_pro
    })
    @$el.append(@$browse_el)

    @$browse_header_el.remove() if @$browse_header_el?
    @$browse_header_el = $('<div class="m-pointlist-browse-header">')

    @$browse_header_el.html ConsiderIt.BrowsablePointListView.browsing_header_template({
      pros : @is_pro
      selected : @selected
    })
    @$el.prepend(@$browse_header_el)
    if @browsing
      @$browse_header_el.css('visibility', 'visible')
  
  onAdd : (model) ->
    super

      @collection.setSort('appeal', 'desc')
    else if target == 'persuasiveness'
      @collection.setSort('persuasiveness', 'desc')
    else if target == 'created_at'
      @collection.setSort('created_at', 'desc')

    @collection.pager()

