• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 72093e24-52f7-4af6-a8ed-dd0ae5acd34f

29 Oct 2024 05:58PM UTC coverage: 96.834% (-0.03%) from 96.867%
72093e24-52f7-4af6-a8ed-dd0ae5acd34f

Pull #4480

circleci

maxkadel
Use ServerItemPaginationComponent
Pull Request #4480: Use ServerItemPaginationComponent

6 of 9 new or added lines in 2 files covered. (66.67%)

6118 of 6318 relevant lines covered (96.83%)

1548.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

62.5
/app/components/blacklight/search_context/server_item_pagination_component.rb
1
# frozen_string_literal: true
2
# This can be removed after migrating to Blacklight 8
3
module Blacklight
3✔
4
  module SearchContext
3✔
5
    class ServerItemPaginationComponent < Blacklight::SearchContextComponent
3✔
6
      with_collection_parameter :search_context
3✔
7

8
      def initialize(search_context:, search_session:, current_document:)
3✔
NEW
9
        @search_context = search_context
×
NEW
10
        @search_session = search_session
×
NEW
11
        @current_document_id = current_document.id
×
12
      end
13
    end
14
  end
15
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc