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
055bc89f
Commit
055bc89f
authored
Apr 27, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spec
parent
16019939
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/helpers/search_helper.rb
app/helpers/search_helper.rb
+1
-1
db/schema.rb
db/schema.rb
+2
-2
No files found.
app/helpers/search_helper.rb
View file @
055bc89f
...
@@ -23,7 +23,7 @@ module SearchHelper
...
@@ -23,7 +23,7 @@ module SearchHelper
return
unless
collection
.
count
>
0
return
unless
collection
.
count
>
0
from
=
collection
.
offset_value
+
1
from
=
collection
.
offset_value
+
1
to
=
collection
.
offset_value
+
collection
.
length
to
=
collection
.
offset_value
+
collection
.
count
count
=
collection
.
total_count
count
=
collection
.
total_count
"Showing
#{
from
}
-
#{
to
}
of
#{
count
}
#{
scope
.
humanize
(
capitalize:
false
)
}
for
\"
#{
term
}
\"
"
"Showing
#{
from
}
-
#{
to
}
of
#{
count
}
#{
scope
.
humanize
(
capitalize:
false
)
}
for
\"
#{
term
}
\"
"
...
...
db/schema.rb
View file @
055bc89f
...
@@ -80,9 +80,9 @@ ActiveRecord::Schema.define(version: 20160421130527) do
...
@@ -80,9 +80,9 @@ ActiveRecord::Schema.define(version: 20160421130527) do
t
.
string
"sentry_dsn"
t
.
string
"sentry_dsn"
t
.
boolean
"email_author_in_body"
,
default:
false
t
.
boolean
"email_author_in_body"
,
default:
false
t
.
integer
"default_group_visibility"
t
.
integer
"default_group_visibility"
t
.
boolean
"repository_checks_enabled"
,
default:
true
t
.
boolean
"repository_checks_enabled"
,
default:
false
t
.
integer
"metrics_packet_size"
,
default:
1
t
.
text
"shared_runners_text"
t
.
text
"shared_runners_text"
t
.
integer
"metrics_packet_size"
,
default:
1
end
end
create_table
"approvals"
,
force: :cascade
do
|
t
|
create_table
"approvals"
,
force: :cascade
do
|
t
|
...
...
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