πŸ‡ΊπŸ‡ΈUnited States @ericrubino

Washington DC
Account created on 16 January 2009, about 16 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

ericrubino β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

Corrected filters display by removing the fieldset. We discussed with Chris if we should remove the field set from the one field or add fieldsets to the other three filter items. We also located a single piece of CSS that set margins to 0 for this single item.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

ericrubino β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

The purpose of this request is to allow the modules to filter posting by SubAgency. Currently the module pulls all jobs for a parent agency. This would allow a SubAgency e.g. Office of Inspector General to filter for their jobs.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

ericrubino β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

Created patch to remove the second period at the end of sentence when there are no jobs found.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

I am able to fix this in a preprocess hook but I think it should be fixed in the module itself.

Here is what I used in my preprocess hook

/**
* Implements hook_preprocess_HOOK() for block.html.twig.
*/
function themename_preprocess_block(&$vars) {
if($vars['plugin_id'] == 'your-block-id') {
//-- This sets the block cache to 6 hours.
$vars['#cache']['max-age'] = 21600;
}
}

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

ericrubino β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

fix double space before ?? for job_high_grade
checked if SubAgency value is null and set to blank or set to actual value if not null

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

Attached is a patch that adds the alter hooks to the module

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

ericrubino β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

I have added the following keys to the usajobs.theme.inc and usajobs-item.html.twig

* - job_sub_agency: Sub agency of the Organization
* - job_category_name: Job family
* - job_category_code: Job Series
* - job_grade: Pay scale
* - job_low_grade: Low grade
* - job_high_grade: High grade

πŸ‡ΊπŸ‡ΈUnited States ericrubino Washington DC

Changed two files: composer.json and usajobs.info.yml.

In the composer.json file, the requirement for the drupal/core package is being changed. Originally, the requirement was for any version of Drupal 8 or higher (">=^8"). The updated requirement is for any version of Drupal 8, 9, or 10 ("^8 || ^9 || ^10"). This means the code is compatible with these specific major versions of Drupal.

In the usajobs.info.yml file, a similar change is being made to the core_version_requirement. Originally, the module could run on any version of Drupal 8 or higher. The updated requirement is for any version of Drupal 8, 9, or 10.

Production build 0.71.5 2024