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
    United States
    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.


  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Brasil, São Paulo, SP
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  3. #3
    tinygiantstudios's Avatar
    Join Date
    Jan 2011
    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