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
Iterations
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
Container Registry
Model registry
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
Stud.IP
Stud.IP
Merge requests
!1124
fix table name in SQL query, fixes
#1727
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix table name in SQL query, fixes
#1727
biest-1727
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Elmar Ludwig
requested to merge
biest-1727
into
main
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
7d049c16
1 commit,
2 years ago
1 file
+
1
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
lib/classes/searchtypes/InstituteSearch.php
+
1
−
1
Options
@@ -56,7 +56,7 @@ class InstituteSearch extends SearchType
@@ -56,7 +56,7 @@ class InstituteSearch extends SearchType
ORDER BY `Name` ASC"
;
ORDER BY `Name` ASC"
;
}
else
{
}
else
{
$query
=
"SELECT `Institut_id`, `Name`
$query
=
"SELECT `Institut_id`, `Name`
FROM `Institute
_id
`
FROM `Institute`
JOIN `user_inst` USING (`Institut_id`)
JOIN `user_inst` USING (`Institut_id`)
WHERE `user_id` = :user_id
WHERE `user_id` = :user_id
AND `Name` LIKE CONCAT('%', :input, '%')
AND `Name` LIKE CONCAT('%', :input, '%')
Loading