Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6d1f1f4d
Commit
6d1f1f4d
authored
Jul 24, 2019
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Search JS handler to not use defaultLabel
- Changelog entry
parent
5b5fc580
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
app/assets/javascripts/pages/search/show/search.js
app/assets/javascripts/pages/search/show/search.js
+0
-6
changelogs/unreleased/47814-search-view-labels.yml
changelogs/unreleased/47814-search-view-labels.yml
+5
-0
No files found.
app/assets/javascripts/pages/search/show/search.js
View file @
6d1f1f4d
...
...
@@ -37,9 +37,6 @@ export default class Search {
text
(
obj
)
{
return
obj
.
full_name
;
},
toggleLabel
(
obj
)
{
return
`
${
$groupDropdown
.
data
(
'
defaultLabel
'
)}
${
obj
.
full_name
}
`
;
},
clicked
:
()
=>
Search
.
submitSearch
(),
});
...
...
@@ -70,9 +67,6 @@ export default class Search {
text
(
obj
)
{
return
obj
.
name_with_namespace
;
},
toggleLabel
(
obj
)
{
return
`
${
$projectDropdown
.
data
(
'
defaultLabel
'
)}
${
obj
.
name_with_namespace
}
`
;
},
clicked
:
()
=>
Search
.
submitSearch
(),
});
}
...
...
changelogs/unreleased/47814-search-view-labels.yml
0 → 100644
View file @
6d1f1f4d
---
title
:
Moved labels out of fields on Search page
merge_request
:
31137
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment