Skip to content

Commit

Permalink
add filter for marks history by date and subj
Browse files Browse the repository at this point in the history
  • Loading branch information
Altius01 authored and ShishckovA committed Jul 21, 2023
1 parent b5c6d66 commit 57b786d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions back-end/src/lms/filters/marks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from django_filters.rest_framework import (
FilterSet,
DateFilter,
NumberFilter,
BooleanFilter,
)
Expand Down
2 changes: 2 additions & 0 deletions front-end/src/components/Marks/Marks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,8 @@ export default {
getMark({
milgroup: this.filter.mg,
subject: this.filter.subject_id,
date_from: this.filter.dateRange[0],
date_to: this.filter.dateRange[1],
history: true,
})
.then(response => {
Expand Down

0 comments on commit 57b786d

Please sign in to comment.