   render: ->
     React.DOM.div className: "app",
       Settings(settings: @state.settings)
-      BookList(books: @state.books, sort_by: @state.settings.sort_by)
+      BookList(books: @state.books, sort: @state.settings.sort)
 
 BookList = React.createClass
   displayName: "BookList"
 
   render: ->
     sortedBooks = _.sortBy @props.books, (b) =>
-      if @props.sort_by.indexOf("rating") isnt -1
-        -b[@props.sort_by]
+      if @props.sort.indexOf("rating") isnt -1
+        -b[@props.sort]
       else
-        b[@props.sort_by]
+        b[@props.sort]
     React.DOM.ul className: "book-list",
       BookListItem(key: book.vpl_id, book: book) for id, book of sortedBooks
 


  render: ->
    React.DOM.div className: "settings",
      SortFieldChooser(sort_by: @props.settings.sort_by)

SortFieldChooser = React.createClass
  displayName: "SortFieldChooser"

  currentSettings: ->
    hash = getHash()
    {
      sort: hash.sort or "title"
    }

  componentWillMount: ->
