Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan-Hendrik Willms
Stud.IP
Commits
5fc6f7b9
Commit
5fc6f7b9
authored
2 years ago
by
Jan-Hendrik Willms
Committed by
Elmar Ludwig
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ignore extermine for icon on my courses, fixes #1643
Closes #1643 Merge request
studip/studip!1056
parent
4ef09e2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/modules/CoreSchedule.class.php
+4
-13
4 additions, 13 deletions
lib/modules/CoreSchedule.class.php
with
4 additions
and
13 deletions
lib/modules/CoreSchedule.class.php
+
4
−
13
View file @
5fc6f7b9
...
...
@@ -18,21 +18,12 @@ class CoreSchedule extends CorePlugin implements StudipModule
{
$query
=
"SELECT COUNT(termin_id) AS count,
COUNT(IF((chdate > IFNULL(ouv.visitdate, :threshold) AND autor_id != :user_id), termin_id, NULL)) AS neue
FROM (
SELECT termin_id, chdate, autor_id
FROM termine
WHERE range_id = :course_id
UNION ALL
SELECT termin_id, chdate, autor_id
FROM ex_termine
WHERE range_id = :course_id
) AS tmp
FROM termine
LEFT JOIN object_user_visits AS ouv
ON ouv.object_id =
:cours
e_id
ON ouv.object_id =
rang
e_id
AND ouv.user_id = :user_id
AND ouv.plugin_id = :plugin_id"
;
AND ouv.plugin_id = :plugin_id
WHERE range_id = :course_id"
;
$statement
=
DBManager
::
get
()
->
prepare
(
$query
);
$statement
->
bindValue
(
':user_id'
,
$user_id
);
$statement
->
bindValue
(
':course_id'
,
$course_id
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment