Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
BDE
nk20
Commits
a1f7f8f5
Commit
a1f7f8f5
authored
5 years ago
by
ynerant
Browse files
Options
Downloads
Patches
Plain Diff
Fixed alias research
parent
8c795c38
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!57
Page de consommations
Pipeline
#7940
passed with stages
Stage: test
Stage: quality-assurance
in 4 minutes and 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/note/forms.py
+1
-1
1 addition, 1 deletion
apps/note/forms.py
static/js/base.js
+1
-1
1 addition, 1 deletion
static/js/base.js
with
2 additions
and
2 deletions
apps/note/forms.py
+
1
−
1
View file @
a1f7f8f5
...
...
@@ -6,7 +6,7 @@ from django import forms
from
django.utils.translation
import
gettext_lazy
as
_
from
.models
import
Alias
from
.models
import
Transaction
,
TransactionTemplate
from
.models
import
TransactionTemplate
class
AliasForm
(
forms
.
ModelForm
):
...
...
This diff is collapsed.
Click to expand it.
static/js/base.js
+
1
−
1
View file @
a1f7f8f5
...
...
@@ -46,7 +46,7 @@ function refreshBalance() {
function
getMatchedNotes
(
pattern
,
fun
)
{
getJSONSync
(
"
/api/note/alias/?format=json&alias=
"
+
pattern
+
"
&search=user|club&ordering=normalized_name
"
,
function
(
aliases
)
{
aliases
.
results
.
forEach
(
function
(
alias
)
{
fun
(
alias
,
alias
.
note
);
fun
(
alias
.
note
,
alias
);
});
});
}
...
...
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