Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
IGWN Computing and Software
GraceDB
GraceDB Server
Commits
ee6a21b0
Commit
ee6a21b0
authored
6 years ago
by
Tanner Prestegard
Committed by
GraceDB
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix to search field error handling
parent
1fbb65d6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gracedb/events/forms.py
+0
-8
0 additions, 8 deletions
gracedb/events/forms.py
gracedb/search/fields.py
+3
-0
3 additions, 0 deletions
gracedb/search/fields.py
with
3 additions
and
8 deletions
gracedb/events/forms.py
+
0
−
8
View file @
ee6a21b0
...
...
@@ -14,14 +14,6 @@ from pyparsing import ParseException
# Set up logger
logger
=
logging
.
getLogger
(
__name__
)
htmlEntityStar
=
"
★
"
htmlEntityRightPointingHand
=
"
☞
"
htmlEntitySkullAndCrossbones
=
"
☠
"
htmlEntityTriangularBuller
=
"
‣
"
htmlEntityRightArrow
=
"
→
"
errorMarker
=
'
<span style=
"
color:red;
"
>
'
+
htmlEntityStar
+
'
</span>
'
class
CreateEventForm
(
forms
.
Form
):
eventFile
=
forms
.
FileField
()
...
...
This diff is collapsed.
Click to expand it.
gracedb/search/fields.py
+
3
−
0
View file @
ee6a21b0
...
...
@@ -10,6 +10,9 @@ from search.query.events import parseQuery
from
search.query.labels
import
filter_for_labels
from
events.models
import
Event
htmlEntityStar
=
"
★
"
errorMarker
=
'
<span style=
"
color:red;
"
>
'
+
htmlEntityStar
+
'
</span>
'
# NOTE: this is only used in SimpleSearchForm and should be removed
# when that form is removed.
...
...
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