enju_biblio 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,7 +80,7 @@ class ItemsController < ApplicationController
80
80
 
81
81
  role = current_user.try(:role) || Role.default_role
82
82
  search.build do
83
- with(:required_role_id).less_than role.id
83
+ with(:required_role_id).less_than_or_equal_to role.id
84
84
  end
85
85
 
86
86
  page = params[:page] || 1
@@ -74,7 +74,7 @@ class PatronsController < ApplicationController
74
74
 
75
75
  role = current_user.try(:role) || Role.default_role
76
76
  search.build do
77
- with(:required_role_id).less_than role.id
77
+ with(:required_role_id).less_than_or_equal_to role.id
78
78
  end
79
79
 
80
80
  page = params[:page] || 1
@@ -1,3 +1,3 @@
1
1
  module EnjuBiblio
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -70,7 +70,7 @@ class ApplicationController < ActionController::Base
70
70
  def set_role_query(user, search)
71
71
  role = user.try(:role) || Role.default_role
72
72
  search.build do
73
- with(:required_role_id).less_than role.id
73
+ with(:required_role_id).less_than_or_equal_to role.id
74
74
  end
75
75
  end
76
76
 
Binary file
@@ -0,0 +1,3 @@
1
+ ����idtype
2
+ class_name created_at_d updated_at_ddate_of_birth_d work_ids_imexpression_ids_immanifestation_ids_imrequired_role_id_ipatron_type_id_i name_text
3
+ place_textother_designation_textoriginal_patron_ids_im
@@ -0,0 +1 @@
1
+ NRM�yyxyyxxxxxyttuuux��||���������������||�������������
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.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -1134,10 +1134,19 @@ files:
1134
1134
  - spec/dummy/solr/conf/spellings.txt
1135
1135
  - spec/dummy/solr/conf/stopwords.txt
1136
1136
  - spec/dummy/solr/conf/synonyms.txt
1137
+ - spec/dummy/solr/data/test/index/_3f.fdt
1138
+ - spec/dummy/solr/data/test/index/_3f.fdx
1139
+ - spec/dummy/solr/data/test/index/_3f.fnm
1140
+ - spec/dummy/solr/data/test/index/_3f.frq
1141
+ - spec/dummy/solr/data/test/index/_3f.nrm
1142
+ - spec/dummy/solr/data/test/index/_3f.prx
1143
+ - spec/dummy/solr/data/test/index/_3f.tii
1144
+ - spec/dummy/solr/data/test/index/_3f.tis
1137
1145
  - spec/dummy/solr/data/test/index/segments.gen
1138
- - spec/dummy/solr/data/test/index/segments_n6
1146
+ - spec/dummy/solr/data/test/index/segments_57
1139
1147
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1140
1148
  - spec/dummy/solr/data/test/spellchecker/segments_1
1149
+ - spec/dummy/tmp/cache/4AD/470/country_all
1141
1150
  - spec/dummy/tmp/cache/4F7/F90/default_role
1142
1151
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1143
1152
  - spec/factories/carrier_type.rb
@@ -1560,10 +1569,19 @@ test_files:
1560
1569
  - spec/dummy/solr/conf/spellings.txt
1561
1570
  - spec/dummy/solr/conf/stopwords.txt
1562
1571
  - spec/dummy/solr/conf/synonyms.txt
1572
+ - spec/dummy/solr/data/test/index/_3f.fdt
1573
+ - spec/dummy/solr/data/test/index/_3f.fdx
1574
+ - spec/dummy/solr/data/test/index/_3f.fnm
1575
+ - spec/dummy/solr/data/test/index/_3f.frq
1576
+ - spec/dummy/solr/data/test/index/_3f.nrm
1577
+ - spec/dummy/solr/data/test/index/_3f.prx
1578
+ - spec/dummy/solr/data/test/index/_3f.tii
1579
+ - spec/dummy/solr/data/test/index/_3f.tis
1563
1580
  - spec/dummy/solr/data/test/index/segments.gen
1564
- - spec/dummy/solr/data/test/index/segments_n6
1581
+ - spec/dummy/solr/data/test/index/segments_57
1565
1582
  - spec/dummy/solr/data/test/spellchecker/segments.gen
1566
1583
  - spec/dummy/solr/data/test/spellchecker/segments_1
1584
+ - spec/dummy/tmp/cache/4AD/470/country_all
1567
1585
  - spec/dummy/tmp/cache/4F7/F90/default_role
1568
1586
  - spec/dummy/tmp/cache/6E4/420/search_engine_all
1569
1587
  - spec/factories/carrier_type.rb