blacklight 3.6.0 → 3.6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.6.0
1
+ 3.6.1.1
@@ -9,7 +9,7 @@ class FolderController < ApplicationController
9
9
 
10
10
  # fetch the documents that match the ids in the folder
11
11
  def index
12
- @response, @documents = get_solr_response_for_field_values("id",session[:folder_document_ids] || [])
12
+ @response, @documents = get_solr_response_for_field_values(SolrDocument.unique_key,session[:folder_document_ids] || [])
13
13
  end
14
14
 
15
15
 
@@ -7,7 +7,7 @@ class Bookmark < ActiveRecord::Base
7
7
 
8
8
 
9
9
  def document
10
- SolrDocument.new :id => document_id
10
+ SolrDocument.new SolrDocument.unique_key => document_id
11
11
  end
12
12
 
13
13
  end
@@ -1,6 +1,6 @@
1
1
  <%= form_tag bookmarks_url, :name => "bookmarks" do %>
2
2
  <% documents.each_with_index do |document, index| %>
3
- <%= hidden_field_tag "bookmarks[#{index}][document_id]", document.get(:id)%>
3
+ <%= hidden_field_tag "bookmarks[#{index}][document_id]", document.id %>
4
4
  <%= hidden_field_tag "bookmarks[#{index}][title]", h(document[document_show_link_field])%>
5
5
  <% end %>
6
6
  <%= link_to_function t('blacklight.bookmarks.collection.add.button'), "document.bookmarks.submit()" %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.6.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,7 +17,7 @@ authors:
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
- date: 2012-09-10 00:00:00.000000000 Z
20
+ date: 2012-09-19 00:00:00.000000000 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: rails
@@ -511,7 +511,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
511
511
  version: '0'
512
512
  segments:
513
513
  - 0
514
- hash: -1064158987751751615
514
+ hash: -3828227521653845396
515
515
  required_rubygems_version: !ruby/object:Gem::Requirement
516
516
  none: false
517
517
  requirements:
@@ -520,10 +520,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
520
520
  version: '0'
521
521
  segments:
522
522
  - 0
523
- hash: -1064158987751751615
523
+ hash: -3828227521653845396
524
524
  requirements: []
525
525
  rubyforge_project: blacklight
526
- rubygems_version: 1.8.24
526
+ rubygems_version: 1.8.23
527
527
  signing_key:
528
528
  specification_version: 3
529
529
  summary: Blacklight provides a discovery interface for any Solr (http://lucene.apache.org/solr)