enju_biblio 0.3.3 → 0.3.4
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.
- checksums.yaml +4 -4
- data/app/models/manifestation.rb +3 -3
- data/lib/enju_biblio/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef18fa14001d13dc376788b697f3a871bdc09ebd9d7e4bbc6cf657624c223859
|
|
4
|
+
data.tar.gz: 388fe4512c27adfa434f439fefdb1abee267729ba23aeac192add823e62155d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 620e4e29cdae3c7e3fe3d35ab0b80597aa9a7eab8f153cc71f6b782a405a6b8908ba36bfd8c6b03d76d978449f7e3502297761a9b1b220f97c94fb4b5ce1a6c5
|
|
7
|
+
data.tar.gz: 49309d8ad2ee23c84564c6bcc6b4a5256778760a59e6ac0536d5489748acc61dca8011fdeec46ca5a1647bd1c17a9f7633a7889fdea292cd1695c12e4402b3ad
|
data/app/models/manifestation.rb
CHANGED
|
@@ -678,13 +678,13 @@ class Manifestation < ApplicationRecord
|
|
|
678
678
|
when :Administrator, :Librarian
|
|
679
679
|
item_lines << i.bookstore.try(:name)
|
|
680
680
|
item_lines << i.budget_type.try(:name)
|
|
681
|
-
if defined?(
|
|
681
|
+
if defined?(EnjuCirculation)
|
|
682
682
|
item_lines << Checkout.where(item_id: i.id).count
|
|
683
683
|
else
|
|
684
684
|
item_lines << ''
|
|
685
685
|
end
|
|
686
686
|
end
|
|
687
|
-
if defined?(
|
|
687
|
+
if defined?(EnjuCirculation)
|
|
688
688
|
item_lines << i.circulation_status.try(:name)
|
|
689
689
|
else
|
|
690
690
|
item_lines << ''
|
|
@@ -695,7 +695,7 @@ class Manifestation < ApplicationRecord
|
|
|
695
695
|
item_lines << i.updated_at
|
|
696
696
|
case options[:role].to_sym
|
|
697
697
|
when :Administrator, :Librarian
|
|
698
|
-
if defined?(
|
|
698
|
+
if defined?(EnjuCirculation)
|
|
699
699
|
item_lines << i.use_restriction.try(:name)
|
|
700
700
|
else
|
|
701
701
|
item_lines << ''
|
data/lib/enju_biblio/version.rb
CHANGED