🔍
Filters, sorting and searching

Filters

There are two ways to set up your filters for your listing.
  • Set up a table in your Airtable base with all the filterable options
  • We can retrieve all the options from your table if the fields you want to filter by are all single/multiple selects

Which set up should I use?

The fields I want to filter by are a mix of selects and other field types
If the fields you want to filter by contains a mixture if different field types besides single select and multi selects, then you will need to set up a separate table in your Airtable base to store your filters.
 
The fields I want to filter by are all single/multiple selects
If the fields you want to filter by are all single/multi selects, then you should use the second option. Pory will be able to retrieve all the options from your fields however, you will need to sync these every time new options are added.

Setup

Fetching from a table in your Airtable base

The filter table requires two fields, Name and Field Name in order for Pory to determine what to show as filters on your site.
 
Suppose we have a table and we want our users to be able to filter by Locations
Example content table we want to filter by Locations
Example content table we want to filter by Locations
Create a table (you can name it what ever you want), we named it Expert Filters
notion image
Add all the available options in the Name and add Locations for all the options in the Field Name field.
 
Now in Pory, go into the Edit Listing menu if you are not already. Scroll down to the Filters section and set the What should we use for your filters? to Fetch from a table
notion image
 
From the Filter table menu, select the table you just created. In our case, it is the Experts Filters.
notion image
 
Click Save when you are done

Getting options from your fields

Pory is able to sync options from the fields you want your users to filter by if they are all single/multiple selects like the table pictured below.
Table with multi-select fields
Table with multi-select fields
To set up your filters, click on Edit Listing and select Airtable Setup in the top navigation.
 
In the filters set up section, set your method to Use single/multiple select fields.
 
From the list of available options, select the fields you want to set as filters for your users.
Set up filter options
Set up filter options
 
Click Save when you are done and close the set up. If your filters don't appear, just refresh the page and they should appear.
Listing with filters set up
Listing with filters set up
 
Changing the order of the filters
To change the order of appearance, you will need to manually remove the fields and select them in the order you want them to appear.
Filters in the old order
Filters in the old order
 
Click on Edit Listing and select Airtable Setup and scroll down to the filters section.
Filters with old order
Filters with old order
 
Click on the X to remove the fields and then select them in the order you want them to appear in
Filters re-ordered
Filters re-ordered
Click Save and close the Edit Listing drawer. You will now now see your filters in the new order.
Updated filters order
Updated filters order
 
Sorting the order of options
Right click on the field and select customize field type. Drag and drop the options to reorder.
notion image

Keeping your filters in sync

When new options are added to your fields, you will need to manually sync the options to your Pory listing.
 

Options synced from an Airtable table

Add the new option to your filters table in Airtable.
 

Option synced from field

Click on Edit Listing and select Airtable Setup on the top navigation. Scroll down the the filters section and click Sync Filters.
Syncing filters
Syncing filters
Close the Edit Listing page and you will see your filters are now up to date. If they are not, just refresh the page.
 

Default Conjunction

Use this setting to set whether you want to match your records by all selected filters (the AND clause) or any of the selected filters (the OR clause).
 
By default Pory will return records that match any of the selected filters.
 
To change this, click on Edit Listing and select Airtable Setup on the top navigation.
 
Scroll to the filters section and set the default conjunction
 
Click Save when you are done with your set up.
Set how you want to filter your records
Set how you want to filter your records

Styles

There are three types of filters supported on Pory. You can have a mix of dropdown and tags or just a side filter.
 
Mixed tags and dropdown filter
Mixed tags and dropdown filter
 
Side filters
Side filters
 
We currently do not support mixing side filters with the other styles.
 

Dropdown and Tags

To change between dropdown and tags, click on the Edit Search & Filters button
Edit Search and Filters button
Edit Search and Filters button
 
Locate the filter you want to update and click on the Filter type option. Select the filter type you want.
Changing the filter type
Changing the filter type
After selecting the option, you will see your filters in the listing section update. When you are done updating, don't forget to publish your changes.
 

Side

To change your filters to a side filters, click on the Edit Search & Filters button on the settings menu above the listing
Edit Search and Filters button
Edit Search and Filters button
 
Click on the Styles tab
notion image
 
Scroll down to the filters section and in the Layout option, select Side
notion image
 

Records (Display, Sorting)

Default Page Size

Setting default page size
Setting default page size
 

Default Sorting

By default, your Airtable data will come back in an arbitrary order. There are two ways you can sort the data that is retrieved from Airtable, by a given Airtable view or by specifying the field to sort.
 
Sort by view
Click on Edit Listing and select Airtable Setup in the top navigation.
 
Scroll to the record sections and set the Sort by option to Airtable View.
notion image
 
In the View Name field select the view you want to fetch from. Click the Save button and close the settings page.
Table view
Table view
Records fetched in that order
Records fetched in that order
 
Sort by field
Use this option to display your fields sorted in ascending or descending order on a particular field. For example, you can display your records sorted by Company Name in alphabetical order.
 
To sort the records by a specific field, click on Edit Listing and click on Airtrable Setup in the top navigation
 
In the record section, set the Sort by input to Field Name.
Sort by field
Sort by field
Select the field you want to sort by in the Sort by field name.
 
Select whether you want to sort in ascending order or descending order and click the Save button.

Search

Setting your search fields

Coming soon
 

Updating the search placeholder

Click on the Edit Search and Filters button above the listing
Edit Search and Filters button
Edit Search and Filters button
 
Select the Search tab
Search settings
Search settings
 
Update the Search placeholder text
Search bar placeholder text settings
Search bar placeholder text settings
Search bar placeholder updated
Search bar placeholder updated
 

Hiding your search bar

To hide your search bar, click on Edit Search & Filters
Edit Search and Filters button
Edit Search and Filters button
 
Select the Search tab
Search settings
Search settings
 
Click on the Hide Search Bar to toggle the visibility of the search bar
 
🧴 Made with Lotion