website/api/search.markdown in admin_assistant-2.0.0 vs website/api/search.markdown in admin_assistant-2.0.1

- old
+ new

@@ -1,8 +1,10 @@ --- -layout: api -title: Search +layout: default +title: "API: Search" +subnav: api +subtitle: Search --- ![index](../img/blog_posts-search.png) Search restricts the records viewed in [Index] by various criteria. By default, search presents a single text field, and text entered in this field will be compared to all string and text fields in the table. By setting #columns you can have the search form specify which fields are being searched on. @@ -30,10 +32,10 @@ end ### Search config options #### columns -<a name="builder_columns"></a> +<a name="builder_columns"> </a> search.columns :title, :user Call this method to set the search to supply one input for each column. When you set multiple search columns, users get the option of searching on all entered columns or any of them.