Skip to content

Commit 29af5e8

Browse files
committed
Fix attribute name to match sample code above
1 parent 0c2e2bd commit 29af5e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ class ContactResource < JSONAPI::Resource
280280
end
281281
```
282282

283-
Then a request could pass in a filter for example `http://example.com/contacts?filter[last_name]=Smith` and the system will find all people where the last name exactly matches Smith.
283+
Then a request could pass in a filter for example `http://example.com/contacts?filter[name_last]=Smith` and the system will find all people where the last name exactly matches Smith.
284284

285285
##### Default Filters
286286

0 commit comments

Comments
 (0)