Skip to content

Commit

Permalink
Restore special delivery options on the request form.
Browse files Browse the repository at this point in the history
  • Loading branch information
tworrall committed Aug 5, 2020
1 parent 05ce04d commit 5d861f8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ requests =
suppressPickup: (excludedPickups, selectedPickup) ->
$.each excludedPickups, (i, location_id) ->
# temporary Covid-19 hack for limited pickup locations. We do not want any of these 5 getting removed from the select
if location_id != 172 and location_id != 159 and location_id != 188 and location_id != 151 and location_id != 157
if location_id != 172 and location_id != 159 and location_id != 188 and location_id != 151 and location_id != 157 and location_id != 149
console.log(location_id)
targetedPickup = '#pickup-locations option[value="' + location_id + '"]'
$(targetedPickup).remove()
Expand Down
4 changes: 2 additions & 2 deletions app/views/shared/_reqpu.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
-# %option{:value => "219", 'data-bd-code': 'M'} Ornithology Circulation
- if special_delivery_options.present?
- special_delivery_options.each do |special_option|
-# %option{:value => special_option[:value], 'data-bd-code': special_option[:bd_value]} #{special_option[:label]}
%option{:value => special_option[:value], 'data-bd-code': special_option[:bd_value]} #{special_option[:label]}
%option{:value => "188"} Uris Clock Tower
-# %option{:value => "189", 'data-bd-code': 'E'} Vet Circulation
- if special_delivery_options.present?
-# %p NOTE: You are eligible for one or more special program delivery options. Select one of the 'Special Program Delivery' choices from the list above.
%p NOTE: You are eligible for one or more special program delivery options. Select one of the 'Special Program Delivery' choices from the list above.
2 changes: 1 addition & 1 deletion lib/blacklight_cornell_requests/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module BlacklightCornellRequests
VERSION = "3.2.5"
VERSION = "3.2.6"
end
3 changes: 3 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release Notes - blacklight-cornell-requests

## v3.2.6
- Restore special delivery options on the request form.

## v3.2.5
- Add the Fine Arts Library to the list of valid, "requestable" libraries.

Expand Down

0 comments on commit 5d861f8

Please sign in to comment.