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

Created on 31 January 2024, 11 months ago
Updated 12 July 2024, 5 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

Closed: works as designed

Version

2.0

Component

Code

Created by

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

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

Comments & Activities

  • Issue created by @ericrubino
  • Status changed to Needs review 11 months ago
  • πŸ‡ΊπŸ‡Έ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

    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

  • Status changed to Closed: works as designed 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States phoang

    @ericrubino Please install the latest release for support more fields

  • πŸ‡ΊπŸ‡ΈUnited States phoang
Production build 0.71.5 2024