πŸ‡ΊπŸ‡ΈUnited States @eric@erubino.net

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

Recent comments

πŸ‡ΊπŸ‡ΈUnited States eric@erubino.net Washington DC

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

πŸ‡ΊπŸ‡ΈUnited States eric@erubino.net Washington DC

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

πŸ‡ΊπŸ‡ΈUnited States eric@erubino.net 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 eric@erubino.net Washington DC

ericrubino β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States eric@erubino.net 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 eric@erubino.net Washington DC

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

πŸ‡ΊπŸ‡ΈUnited States eric@erubino.net Washington DC

ericrubino β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States eric@erubino.net 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 eric@erubino.net 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.69.0 2024