Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
iwasthesword committed May 30, 2018
2 parents 6f5a229 + cb97633 commit 0c130c8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,5 @@ Minimal templating with {{mustaches}} in JavaScript - https://github.com/janl/mu

**Exemplo**: `1,3,25`

- **`filters_input`**:
Adiciona campos no front-end para filtragem pelo usuario. Tipos implementados: `text`, `select`

**Sintaxe**: `id`,`tipo de input`,`valor(es)`

**Exemplo**: `project_name,select,bienal:Bienal+festival:Festival`

- **`filters`**:
Filtra os resultados da API. Utiliza Mustache para templating da pesquisa, fornecendo os valores dos campos do `filters_input`.

**Exemplo 1**: `name=ILIKE(Bienal%)&id=BET(1,100)`

**Exemplo 2**: `{{#project_name}}name=OR(ILIKE({{project_name}}),ILIKE(%{{project_name}}%),ILIKE(%{{project_name}}),ILIKE({{project_name}}%)){{/project_name}}`



Projeto inspirado pelo plugin [medialab-ufg/list-events-shortcode](https://github.com/medialab-ufg/list-events-shortcode)

0 comments on commit 0c130c8

Please sign in to comment.