Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds method for lewis library paging #432

Merged
merged 2 commits into from
Jan 3, 2020
Merged

adds method for lewis library paging #432

merged 2 commits into from
Jan 3, 2020

Conversation

tampakis
Copy link
Contributor

@tampakis tampakis commented Jan 3, 2020

Closes #428. Closes #427.

  • Also adds scinb and sciefa to the pageable location codes
  • Empties "ppl_success" config because it duplicates the info in the "success" locale
  • Updates ppl confirmation email template to remove unconfigured "patron_conf_msg" locale

@tampakis
Copy link
Contributor Author

tampakis commented Jan 3, 2020

I deployed the changes to catalog-staging. In addition to marking the locations as open=false and requestable=true, I also changed the delivery location rules to only have Lewis Library as a delivery location to prevent the dropdown delivery list to show other libraries.

@coveralls
Copy link

coveralls commented Jan 3, 2020

Coverage Status

Coverage increased (+0.04%) to 87.4% when pulling e676939 on lewis-paging into cefd41b on master.

Copy link
Member

@kevinreiss kevinreiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tampakis. Looks good. Only only a couple quick questions. I also think we need to add the values "ppl" and "lewis" to this array https://github.com/pulibrary/requests/blob/master/app/controllers/requests/request_controller.rb#L142 in order to have the confirmation messages distributed for this request type. I should probably create a ticket to note that this should be re-factored to be cleanly. It's grown quite ungainly. I think we should assume every request type that is email based will send the user a confirmation email message. That is essentially what this array is.

@@ -23,7 +23,8 @@ en:
annex_success: "Request submitted. See confirmation email with details about when your item(s) will be available."
annexa_success: "Request submitted. See confirmation email with details about when your item(s) will be available."
annexb_success: "Request submitted. See confirmation email with details about when your item(s) will be available."
ppl_success: "Request submitted. See confirmation email with details about when your item(s) will be available."
ppl_success: ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you make this one the empty string?

@@ -69,6 +69,10 @@ def missing?
return true if item[:status] == 'Missing'
end

def lewis?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scinb is the "New Book Shelf". There are only 8 items there. I think we want to leave this one out of the pageable locations.

@kevinreiss kevinreiss merged commit 00e7171 into master Jan 3, 2020
@carolyncole carolyncole deleted the lewis-paging branch March 27, 2020 14:12
kevinreiss added a commit that referenced this pull request Jun 4, 2020
adds method for lewis library paging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants