Sort Camp Listings by column

Objective


Control the order in which camps appear in Camp Listings.

Solution


Use the sort parameter to control the order in which camps appear in Camp Listings.

The sort parameters are added to the end of your Camp Listings base embed code or direct URL after an ampersand symbol '&'. A parameter includes a variable and a value (column alias) separated by the equals sign '='.

Base URL 

âť—Replace the Xs with your Organization ID and the Camp ID

app.jackrabbitclass.com/jr4.0/CampListings/CampListingsDirect?orgId=XXXXXX&campId=XXX

Sort Columns Ascending

To sort Camp Listings in ascending order, use:

&Sort= 

Example

  • &Sort=sessionname
    ➡️ https://app.jackrabbitclass.com/jr4.0/CampListings/CampListingsDirect?orgIdxxxx&campIdxxxx&Sort=sessionname

Sort Columns Descending

To sort Camp Listings in descending order, use:

âť—Replace the Xs with the specific value (column alias)

&Sort=XXX desc

Example

  • &Sort=agerange desc
    ➡️ https://app.jackrabbitclass.com/jr4.0/CampListings/CampListingsDirect?orgIdxxxx&campIdxxxx&Sort=agerange desc

 

Was this article helpful?
0 out of 0 found this helpful