Results 1 to 3 of 3

Thread: Jobroller - Sorting Salary and Job Type

  1. #1
    Thread Starter
    Newbie linkman11's Avatar
    Join Date
    May 2011
    Location
    United States
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Jobroller - Sorting Salary and Job Type

    It appears as though the Salary list is displayed in any random order, or perhaps the order in which it is entered.

    This becomes a problem unless you plan out ahead of time all of your salary ranges and know for certain you will NEVER need to change them.

    However, if I have salary ranges like:
    10,000 to 25,000
    25,000 to 50,000
    50,000 to 100,000

    ...and then later decide to add a new range for low-paying jobs at 5,000 to 10,000, it will be displayed out of order. Of course, later I may decide to split the 50k-100k salary into two parts (50k-75k, 75k-100k), and then I get into even more trouble.

    Is it possible to display the salaries in some sort of numerical order? Or alpha order? Or by slug? Or by some other sort field?

    I looked at the code in appthemes-functions.php (around line 50) and thought that changing the sort clause (to something other than RAND) would do the trick, but that didn't work.

    Similarly, I'd like JOB TYPES to be sorted alphabetically as well. Or at least to be able to set a sort order. Since the data for both is stored the same way (as wp_terms) it seems a solution for one would extend to the other.

    Anyone know of a solution for this problem?

    Thank You.

    Linkman11

  2. #2
    barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,779
    Thanks
    185
    Thanked 740 Times in 622 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. Thank you.

    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  3. #3
    tinygiantstudios's Avatar
    Join Date
    Jan 2011
    Posts
    1,607
    Thanks
    31
    Thanked 157 Times in 148 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to have Browse by Job type, Job category, salary in the filter?
    By twhw in forum Help Using JobRoller
    Replies: 3
    Last Post: June 21st, 2011, 06:39 PM
  2. Sorting
    By powersje1 in forum ClassiPress General Discussion
    Replies: 4
    Last Post: July 15th, 2010, 04:48 PM