Osclass Support Forums

Osclass theme support => CareerJob Osclass Jobs Theme => Topic started by: Nagy Csaba on January 08, 2020, 12:14:54 AM

Title: job ofer location
Post by: Nagy Csaba on January 08, 2020, 12:14:54 AM
Back so soon  ;D ;D ;D

If one employee has one job offer active for ex:new york and wants to add a second offer but in difrent city ex california than de second ad listing shows the firts listings adress in location so the both offers are in new york, the reason is that the city adress is set up in employee account is ther a way to change this ?
Title: Re: job ofer location
Post by: MB Themes on January 08, 2020, 07:55:00 AM
@Nagy Csaba
Should work simply by rewritting address when publishing new offer.
Title: Re: job ofer location
Post by: MB Themes on January 08, 2020, 11:25:57 AM
From item.php:
Code: [Select]
    $place_of_work = (osc_item_city() <> '' ? osc_item_city() : (osc_item_region() <> '' ? osc_item_region() : (osc_item_country() <> '' ? osc_item_country() : '-')));

SO it's taking what was set on item.