Skip to content

Commit

Permalink
Fix job page querying
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis committed Dec 11, 2023
1 parent 0928f7f commit c73b141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/page/PageCareer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ export default class PageCareer extends React.Component {
if (this.props.lhc && this.props.analytics) {
const tv = this.props.analytics.taxonomy_values
.filter((v) => v.category === "JOB OFFER CATEGORY")
.filter((v) => v.name === "FIXED-TERM CONTRACT" || v.name === "PERMANENT CONTRACT");
.filter((v) => v.name === "INTERNSHIP");

if (tv.length > 0) {
const params = {
entities: this.props.lhc.id,
type: "JOB OFFER",
taxonomy_values: tv.map((t) => t.id),
ignored_taxonomy_values: tv.map((t) => t.id),
per_page: 10,
page: page || 1,
};
Expand Down

0 comments on commit c73b141

Please sign in to comment.