Close

Account

Documentation

Forum

Menu

bug in Find resume page

  • Post count: 67
    huwcole
    July 9, 2016 at 2:36 pm #21122

    hi

    I left the find resume page open for everyone to see…

    http://www.dev.concept14.de/resume-list/

    as you can see there are 6 resumes and i show 2 per page. when i try to get to the next page it tells me that there is no result.

    also as you can see on the page on the right the “experience in years” (Berufserfahrung in Jahren) is not working at all.

    help, cannot figure out what the issue is

    • This topic was modified 1 year, 5 months ago by  huwcole.
    Post count: 67
    huwcole
    July 9, 2016 at 3:20 pm #21124

    right i found the problem. the problem is that the plugin.js file you actually use on your demo site has the bug already removed but the one you sell hasn’t. that is a bit annoying…

    issue in plugin.js

    function priceslider()
    {
    $(“.jobplanet_price_slider”).each(function(){
    var element = this;
    var priceslider = $(element).find(‘.price_slider’);

    var min_input = $(element).find(‘.price_slider_amount #min_price’),
    max_input = $(element).find(‘.price_slider_amount #max_price’),
    from = $(element).find(‘.from’),
    to = $(element).find(‘.to’),
    min_price = $(min_input).data(‘min’),
    max_price = $(max_input).data(‘max’),
    current_min_price = parseInt( min_price, 10 ),
    current_max_price = parseInt( max_price, 10 );

    if(current_min_price > 0 && current_max_price > 0 ) //<– THIS IS THE PROBLEM
    {
    $(priceslider).slider({
    range: true,
    animate: true,
    min: min_price,
    max: max_price,
    values: [ current_min_price, current_max_price ],
    create: function() {

    $( min_input ).val( current_min_price );
    $( max_input ).val( current_max_price );

    $( from ).text( min_price.formatMoney(0, ‘,’, ‘.’) );
    $( to ).text( max_price.formatMoney(0, ‘,’, ‘.’) );

    $( document.body ).trigger( ‘price_slider_create’, [ current_min_price, current_max_price ] );
    },
    slide: function( event, ui ) {

    $( min_input ).val( ui.values[0] );
    $( max_input ).val( ui.values[1] );
    $( from ).text( ui.values[0].formatMoney(0, ‘,’, ‘.’) );
    $( to ).text( ui.values[1].formatMoney(0, ‘,’, ‘.’) );

    $( document.body ).trigger( ‘ajax_filter_search’, [ ui.values[0], ui.values[1] ] );
    },
    change: function( event, ui ) {

    $( document.body ).trigger( ‘ajax_filter_search’, [ ui.values[0], ui.values[1] ] );
    }
    });
    }
    });
    }

    I removed the if statement and everything now works.
    PLEASE update the package you sell very annoying

    Post count: 2483
    Jegbagus
    July 12, 2016 at 2:53 am #21168

    hi huwcole, yes we also will pack this with our new themes update.

    Thank you

    Post count: 67
    huwcole
    July 12, 2016 at 4:31 pm #21176

    sorry guys
    but this is still not fixed.
    still the old code in there

    Post count: 2483
    Jegbagus
    July 13, 2016 at 1:54 am #21183

    hi huwcole, i believe its already fixed.

    Thank you

    Post count: 67
    huwcole
    July 19, 2016 at 7:52 pm #21315

    hi

    unfortunately as i said this is not resolved. look at your own demo site:
    jobplanet.jegtheme.com/resume-list/

    it still shows:

    Years Experience :
    Experience : — years

    where is the drag bar like on:
    jobplanet.jegtheme.com/job-list/

    you still sell your template with this code:

    come on guys!!!!

    • This reply was modified 1 year, 4 months ago by  huwcole.
    Post count: 2483
    Jegbagus
    July 20, 2016 at 12:54 am #21323

    hi huwcole, im sorry i tough its job list not resume. btw i have already fix it with this code :

    1. you can use this code to fix the issues, and put it on jobplanet-plugin > assets > js > plugin.js (replace all of the file with this code) : http://pastebin.com/NQ4Xkpxr

    Thank you

You must be logged in to reply to this topic.