Skip to content

Commit

Permalink
enable sorting on Seminar categories
Browse files Browse the repository at this point in the history
  • Loading branch information
paolini committed Oct 29, 2023
1 parent 0325e00 commit adcb976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dm-manager",
"version": "1.3.8",
"version": "1.3.9",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.2",
Expand Down
2 changes: 1 addition & 1 deletion server/models/EventSeminar.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const eventSeminarSchema = new Schema({
conferenceRoom: { type: ObjectId, label: 'Aula', ref: 'ConferenceRoom', required: true },
startDatetime: { type: Date, label: 'Inizio', widget: 'datetime', default: null },
duration: { type: Number, label: 'Durata (in minuti)', default: 60 },
category: { type: ObjectId, label: 'Ciclo di Seminari', ref: 'SeminarCategory', required: true },
category: { type: ObjectId, label: 'Ciclo di Seminari', ref: 'SeminarCategory', required: true, can_sort: ['name'] },
grants: [{type: ObjectId, label: 'grants', ref: 'Grant'}],
abstract: { type: String, label: "Abstract (non modificare se c'è un abstract vecchio!)", widget: 'text' },
oldUrl: { type: String, label: 'URL vecchio', widget: 'url' },
Expand Down

0 comments on commit adcb976

Please sign in to comment.