Skip to content

Commit

Permalink
Merge pull request #134 from bcgov/scdicontact
Browse files Browse the repository at this point in the history
took out sort
  • Loading branch information
suzalflueck authored Nov 29, 2023
2 parents 46614af + 254170a commit ebdd7ab
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 ebdd7ab

Please sign in to comment.