Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobm committed Oct 27, 2024
1 parent 94f0eaa commit 150cda9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/customizing_dashboards.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ For example:
with this, you will be able to search through the column `name` from the
association `belongs_to :country`, from your model.

`:class_name` - Specifies the name of the associated class.

`:primary_key` (deprecated) - Specifies the association's primary_key.

`:foreign_key` (deprecated) - Specifies the name of the foreign key directly.

`:class_name` (deprecated) - Specifies the name of the associated class.

**Field::HasMany**

`:collection_attributes` - Set the columns to display in the show view.
Expand All @@ -124,12 +124,12 @@ set this to `0` or `false`. Default is `5`.

`:direction` - What direction the sort should be in, `:asc` (default) or `:desc`.

`:class_name` - Specifies the name of the associated class.

`:primary_key` (deprecated) - Specifies object's primary_key.

`:foreign_key` (deprecated) - Specifies the name of the foreign key directly.

`:class_name` (deprecated) - Specifies the name of the associated class.

**Field::HasOne**

`:order` - Specifies the column used to order the records. It will apply both in
Expand All @@ -154,7 +154,7 @@ For example:
with this, you will be able to search through the column `name` from the
association `has_one :city`, from your model.

`:class_name` (deprecated) - Specifies the name of the associated class.
`:class_name` - Specifies the name of the associated class.

**Field::Number**

Expand Down

0 comments on commit 150cda9

Please sign in to comment.