Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
42
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
e1fea7f8
Commit
e1fea7f8
authored
5 years ago
by
lotte
Browse files
Options
Downloads
Patches
Plain Diff
removed unnecessary code
parent
e179596a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/+search-page/search-service/search.service.ts
+1
-4
1 addition, 4 deletions
src/app/+search-page/search-service/search.service.ts
src/app/+search-page/search-settings/search-settings.component.html
+0
-1
0 additions, 1 deletion
...earch-page/search-settings/search-settings.component.html
with
1 addition
and
5 deletions
src/app/+search-page/search-service/search.service.ts
+
1
−
4
View file @
e1fea7f8
...
...
@@ -354,10 +354,7 @@ export class SearchService implements OnDestroy {
* @returns {string} The base path to the search page
*/
getSearchLink
():
string
{
const
urlTree
=
this
.
router
.
parseUrl
(
this
.
router
.
url
);
const
g
:
UrlSegmentGroup
=
urlTree
.
root
.
children
[
PRIMARY_OUTLET
];
const
searchLink
:
any
=
'
/
'
+
g
.
toString
();
return
(
searchLink
!==
'
/search
'
&&
searchLink
!==
'
/mydspace
'
)
?
'
/search
'
:
searchLink
;
return
'
/search
'
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
src/app/+search-page/search-settings/search-settings.component.html
+
0
−
1
View file @
e1fea7f8
<script
src=
"../search-switch-configuration/search-switch-configuration.component.ts"
></script>
<ng-container
*ngVar=
"(searchOptions$ | async) as config"
>
<h3>
{{ 'search.sidebar.settings.title' | translate}}
</h3>
<div
*ngIf=
"config?.sort"
class=
"setting-option result-order-settings mb-3 p-3"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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