enju_biblio 0.1.0.pre → 0.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/manifestations/_list.html.erb +1 -1
- data/app/views/manifestations/index.rss.builder +3 -3
- data/app/views/manifestations/index.sru.builder +2 -2
- data/lib/enju_biblio/version.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
- metadata +17 -1
@@ -6,7 +6,7 @@
|
|
6
6
|
<br />
|
7
7
|
|
8
8
|
<div>
|
9
|
-
<%- if manifestations and manifestations.size > @manifestations.
|
9
|
+
<%- if manifestations and manifestations.size > @manifestations.limit_value.div(2) -%>
|
10
10
|
<%= form_for :manifestations, :html => {:method => 'get'} do -%>
|
11
11
|
<p>
|
12
12
|
<%= t('page.search_term') -%>:
|
@@ -13,9 +13,9 @@ xml.rss('version' => "2.0",
|
|
13
13
|
xml.tag! "atom:link", :rel => 'alternate', :href => manifestations_url
|
14
14
|
xml.tag! "atom:link", :rel => 'search', :type => 'application/opensearchdescription+xml', :href => page_opensearch_url
|
15
15
|
unless params[:query].blank?
|
16
|
-
xml.tag! "opensearch:totalResults", @manifestations.
|
17
|
-
xml.tag! "opensearch:startIndex", @manifestations.
|
18
|
-
xml.tag! "opensearch:itemsPerPage", @manifestations.
|
16
|
+
xml.tag! "opensearch:totalResults", @manifestations.total_count
|
17
|
+
xml.tag! "opensearch:startIndex", @manifestations.offset_value + 1
|
18
|
+
xml.tag! "opensearch:itemsPerPage", @manifestations.limit_value
|
19
19
|
xml.tag! "opensearch:Query", :role => 'request', :searchTerms => h(params[:query]), :startPage => (h(params[:page]) || 1)
|
20
20
|
end
|
21
21
|
if @manifestations
|
@@ -13,8 +13,8 @@ if @sru
|
|
13
13
|
|
14
14
|
@version = @sru.version
|
15
15
|
@packing = @sru.packing
|
16
|
-
@number_of_records = @manifestations.
|
17
|
-
@next_record_position = @sru.start + @manifestations.
|
16
|
+
@number_of_records = @manifestations.total_count
|
17
|
+
@next_record_position = @sru.start + @manifestations.limit_value
|
18
18
|
end
|
19
19
|
|
20
20
|
def search_retrieve_response!(xml)
|
data/lib/enju_biblio/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_biblio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -475,6 +475,22 @@ dependencies:
|
|
475
475
|
- - ! '>='
|
476
476
|
- !ruby/object:Gem::Version
|
477
477
|
version: '0'
|
478
|
+
- !ruby/object:Gem::Dependency
|
479
|
+
name: enju_circulation
|
480
|
+
requirement: !ruby/object:Gem::Requirement
|
481
|
+
none: false
|
482
|
+
requirements:
|
483
|
+
- - ~>
|
484
|
+
- !ruby/object:Gem::Version
|
485
|
+
version: 0.1.0.pre
|
486
|
+
type: :development
|
487
|
+
prerelease: false
|
488
|
+
version_requirements: !ruby/object:Gem::Requirement
|
489
|
+
none: false
|
490
|
+
requirements:
|
491
|
+
- - ~>
|
492
|
+
- !ruby/object:Gem::Version
|
493
|
+
version: 0.1.0.pre
|
478
494
|
description: Bibliographic record module for Next-L Enju
|
479
495
|
email:
|
480
496
|
- tanabe@mwr.mediacom.keio.ac.jp
|