Created
August 14, 2020 16:29
-
-
Save chetmac/42cf4aed5fc7bb161fc9092be3c63c4b to your computer and use it in GitHub Desktop.
Airpress: Sort on multiple fields using the Airpress plugin's php api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$query->sort( | |
[ | |
["field" => "My First Airtable Field", "direction" => "DESC"], | |
["field" => "My Second Airtable Field", "direction" => "ASC"] | |
] | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment