Skip to content

Commit

Permalink
Merge pull request #116 from omeka/FacetedBrowse-NumericDataTypes
Browse files Browse the repository at this point in the history
Adds screenshots and Numeric Data Types to Faceted Browse
  • Loading branch information
jimsafley authored Sep 29, 2021
2 parents 3d3cfc4 + 906a832 commit 86101b5
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/modules/facetedbrowse.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Save the page and select *Stay on this page*.

If you are returning to edit existing pages, you can also save your edits and return to the list of pages by selecting Save and *Return to page*.

![Create page interface showing save page dropdown](../modules/modulesfiles/FacetedBrowse-AddPage.png)

### Adding and Editing Categories

Once the page has been created, the user can create a Category, which is a logical grouping of resources that can be described using faceted classification.
Expand All @@ -25,6 +27,8 @@ Give your category a name.

Use the search query interface to set the pool of resources that users will browse.

![Add category form with name filled in and search query Edit buttons interface](../modules/modulesfiles/FacetedBrowse-SearchQuery.png)

After setting the pool of resources, you can create facets and add columns to your browse display. Once you are done creating your facets and setting your display columns, save your category.

You may repeat the category creation and configuration process to add as many categories to your page as you like.
Expand All @@ -33,8 +37,12 @@ You may repeat the category creation and configuration process to add as many ca

Select a type of facet to add: Value; Resource class; Resource Template; Item Set; Full text.

![Facet Type dropdown menu showing options](../modules/modulesfiles/FacetedBrowse-SelectFacetType.png)

Once the type is selected, click the *Add* button. A drawer will open with options to configure the facet.

![Configure Facet draw for the Values facet type](../modules/modulesfiles/FacetedBrowse-ConfigureFacet.png)

You can add more than one type of facet to each page.

**Value**
Expand Down Expand Up @@ -125,6 +133,18 @@ Give the facet a name (required).

When you are satisfied with your settings, click the *Set facet* button.

#### Numeric Data Types

If you are using the Numerica Data Types module, you will have additional facet types to work with, including Date after, Date before, Value greater than, Value less than, Duration greater than, Duration less than, Date in interval.

![Facet Type dropdown menu showing options including Numeric Date Types](../modules/modulesfiles/FacetedBrowse-NumericDataTypesSelect.png)

Once you have selected a facet type, you will be able to configure the facet to operate with the properties that use a numeric data type.

In the public view, the faceting will be controlled through a dropdown menu

![Public Faceted Browse page with radio button selects for a list of Status values and a "Birth Data Before" dropdown menu in the left column. In the right column is a table of items with information for Title, Location, and Spouse](../modules/modulesfiles/FacetedBrowse-SelectFacetType.png)

### Columns

The display of the browse list of results defaults to include the title and description for the resource, just as is the case with other browse lists. You can configure the information displayed about the results by adding columns of metadata to the display for your faceted browse.
Expand Down Expand Up @@ -171,6 +191,8 @@ When you are satisfied with configuring the column, click the *Set column* butto

Click on the Navigation tab for your site. Select *Faceted browse* from the *Add a custom link* list in the page sidebar.

![Custom links in the right drawer to add elements to the navigation](../modules/modulesfiles/FacetedBrowse-AddPageNav.png)

Give your custom link a label (required), and select from your dropdown list of faceted browse pages (required).

You may add as many Faceted browse custom links as you desire.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/modules/numericdatatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,7 @@ For each search option, you must select a specific property from the dropdown; i
**Date in interval** searches for a date within an interval. When searching on an interval, be as precise as possible. Because of the way that the module stores timestamps, the date you are searching must fall *within* the interval. So a search for the year 1814 would not turn up an event with interval September 12-15, 1814, because of the way the data reads the two dates.

**Integer** data is searchable with "Value is less than" and "Value is greater than." As with the timestamp data, only properties which have numeric data will load in the dropdown.

## Integration with Other Modules

Numeric Data Types functions with [Collecting](../modules/collecting/), [CSVImport](../modules/csvimport/), [Faceted Browse](../modules/facetedbrowse/), and [Mapping](../modules/mapping/).

0 comments on commit 86101b5

Please sign in to comment.