Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any reason why these columns are not sortable? #66

Open
hboetes opened this issue Mar 10, 2020 · 0 comments
Open

Any reason why these columns are not sortable? #66

hboetes opened this issue Mar 10, 2020 · 0 comments

Comments

@hboetes
Copy link

hboetes commented Mar 10, 2020

I just wondered why these columns are not sortable? I just enabled it and it works fine.

diff --git a/views/hardware.phone.php b/views/hardware.phone.php
index 2303cc0..0819565 100644
--- a/views/hardware.phone.php
+++ b/views/hardware.phone.php
@@ -38,9 +38,9 @@
                             <th data-sortable="true" data-field="mac"><?php echo _('Device SEP ID') ?></th>                            
                             <th data-sortable="true" data-field="description"><?php echo _('Device  Descriptions') ?></th>
                             <th data-sortable="true" data-formatter="DispayTypeFormatter" data-field="type"><?php echo _('Device type') ?></th>
-                            <th data-sortable="false" data-field="button" data-formatter="LineFormatter"><?php echo _('Line') ?></th>
-                            <th data-sortable="false" data-field="status"><?php echo _('Status') ?></th>
-                            <th data-sortable="false" data-field="address"><?php echo _('Address') ?></th>
+                            <th data-sortable="true" data-field="button" data-formatter="LineFormatter"><?php echo _('Line') ?></th>
+                            <th data-sortable="true" data-field="status"><?php echo _('Status') ?></th>
+                            <th data-sortable="true" data-field="address"><?php echo _('Address') ?></th>
                             <th data-field="actions" data-formatter="DispayDeviceActionsKeyFormatter"><?php echo _('Actions') ?></th>
                         </tr>
                     </thead>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant