Skip to content

Commit

Permalink
took out sort
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltangbcgov committed Nov 29, 2023
1 parent 46614af commit 254170a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions frontend/src/views/SchoolSearchView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ const schools = [
const headers = [
{ title: '', key: 'data-table-expand' },
{ title: 'School Name', key: 'displayName' },
{ title: 'Mincode', key: 'mincode' },
{ title: 'Category', key: 'schoolCategoryCodeLabel' },
{ title: 'Type', key: 'facilityTypeCodeLabel' }
{ title: 'School Name', key: 'displayName', sortable: false },
{ title: 'Mincode', key: 'mincode', sortable: false },
{ title: 'Category', key: 'schoolCategoryCodeLabel', sortable: false },
{ title: 'Type', key: 'facilityTypeCodeLabel', sortable: false }
]
const filteredSchools = ref(schools)
Expand Down Expand Up @@ -264,7 +264,6 @@ onBeforeMount(async () => {
:loading="loading"
@page-change:page="handlePageChange"
@update:options="handleUpdate"
:sort-by="[{ key: 'mincode', order: 'asc' }]"
>
<template v-slot:item.displayName="{ item }">
<a :href="`/school/${item.schoolId}`">{{ item.displayName }}</a>
Expand Down

0 comments on commit 254170a

Please sign in to comment.