Add all keys from USAJOBS API in the preprocess hook and twig template.

Created on 31 January 2024, 5 months ago
Updated 18 March 2024, 3 months ago

Problem/Motivation

Currently the module only uses the following keys from the USAJOBS API
- job_title: Position title.
- job_url: URL to the originating job item.
- job_organization: Government organization name.
- job_location: Location of the job.
- job_salary_min: Minimum salary job offer.
- job_salary_max: Maximum salary job offer.
- job_start_date: Start date for applying job.
- job_end_date: End date for applaying job.

Steps to reproduce

NA

Proposed resolution

Would like to add the additional available keys from USAJobs API

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

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

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @eric@erubino.net
  • Status changed to Needs review 5 months ago
  • πŸ‡ΊπŸ‡Έ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

    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

Production build 0.69.0 2024