ericrubino β created an issue.
ericrubino β made their first commit to this issueβs fork.
updated patch #2
Created patch to remove the second period at the end of sentence when there are no jobs found.
ericrubino β created an issue.
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;
}
}
ericrubino β created an issue.
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
Attached is a patch that adds the alter hooks to the module
ericrubino β created an issue.
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
ericrubino β created an issue.
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.
ericrubino β created an issue.
laura.gates β credited ericrubino β .
laura.gates β credited ericrubino β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
benjifisher β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .
laura.gates β credited eric@erubino.net β .