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

geo_aardvark_config.rb: add_date_hierarchy_sm field #1521

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

jmartin-sul
Copy link
Member

@jmartin-sul jmartin-sul commented Sep 5, 2024

required for sul-dlss/earthworks#1315 to work

part of sul-dlss/earthworks#1136

this field is meant to support hierarchical date faceting in blacklight.

see sul-dlss/earthworks#1136
@jmartin-sul jmartin-sul changed the title [WIP, needs more test coverage?] geo_aardvark_config.rb: add_date_hierarchy_sm field geo_aardvark_config.rb: add_date_hierarchy_sm field Sep 6, 2024
@jmartin-sul jmartin-sul marked this pull request as ready for review September 6, 2024 04:38
# "Obsolete. to take a tenth of or from." - https://www.dictionary.com/browse/decimate
#
# @param maybe_year [Integer] an int that (hopefully) represents a year
def self.centimate_and_decimate(maybe_year)
Copy link
Member Author

Choose a reason for hiding this comment

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

alternatively, i could pick a less precious and slightly wordier name, like extract_century_and_year_strings

Copy link
Member

Choose a reason for hiding this comment

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

i enjoy this type of thing now and then, tbh

Copy link
Member

@thatbudakguy thatbudakguy left a comment

Choose a reason for hiding this comment

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

this all looks great! let's test it in stage.

Copy link
Contributor

@marlo-longley marlo-longley left a comment

Choose a reason for hiding this comment

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

Looks like I reviewing at the same time -- I appreciate the wording and approach!

@thatbudakguy thatbudakguy merged commit d5e0a2c into main Sep 6, 2024
2 checks passed
@thatbudakguy thatbudakguy deleted the aardvarkDateHierarchy branch September 6, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants