Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feeds
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
drupal.org
feeds
Commits
aafeae0f
Commit
aafeae0f
authored
9 years ago
by
twistor
Committed by
MegaChriz
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue #1393898 by MegaChriz, twistor: Order Log view by flid instead of log_time
parent
c4dcf76e
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
views/feeds.views.inc
+18
-0
18 additions, 0 deletions
views/feeds.views.inc
views/feeds.views_default.inc
+5
-5
5 additions, 5 deletions
views/feeds.views_default.inc
with
23 additions
and
5 deletions
views/feeds.views.inc
+
18
−
0
View file @
aafeae0f
...
@@ -210,6 +210,24 @@ function feeds_views_data() {
...
@@ -210,6 +210,24 @@ function feeds_views_data() {
'help'
=>
t
(
'Logs events during importing, clearing, expiry.'
),
'help'
=>
t
(
'Logs events during importing, clearing, expiry.'
),
),
),
);
);
$data
[
'feeds_log'
][
'flid'
]
=
array
(
'title'
=>
t
(
'Log id'
),
'help'
=>
t
(
'The id of the log message.'
),
'field'
=>
array
(
'handler'
=>
'views_handler_field'
,
'click sortable'
=>
TRUE
,
),
'filter'
=>
array
(
'handler'
=>
'views_handler_filter_numeric'
,
),
'argument'
=>
array
(
'handler'
=>
'views_handler_argument_numeric'
,
'numeric'
=>
TRUE
,
),
'sort'
=>
array
(
'handler'
=>
'views_handler_sort'
,
),
);
$data
[
'feeds_log'
][
'id'
]
=
array
(
$data
[
'feeds_log'
][
'id'
]
=
array
(
'title'
=>
t
(
'Importer id'
),
'title'
=>
t
(
'Importer id'
),
'help'
=>
t
(
'The id of an importer.'
),
'help'
=>
t
(
'The id of an importer.'
),
...
...
This diff is collapsed.
Click to expand it.
views/feeds.views_default.inc
+
5
−
5
View file @
aafeae0f
...
@@ -110,11 +110,11 @@ function feeds_views_default_views() {
...
@@ -110,11 +110,11 @@ function feeds_views_default_views() {
$handler
->
display
->
display_options
[
'fields'
][
'severity'
][
'id'
]
=
'severity'
;
$handler
->
display
->
display_options
[
'fields'
][
'severity'
][
'id'
]
=
'severity'
;
$handler
->
display
->
display_options
[
'fields'
][
'severity'
][
'table'
]
=
'feeds_log'
;
$handler
->
display
->
display_options
[
'fields'
][
'severity'
][
'table'
]
=
'feeds_log'
;
$handler
->
display
->
display_options
[
'fields'
][
'severity'
][
'field'
]
=
'severity'
;
$handler
->
display
->
display_options
[
'fields'
][
'severity'
][
'field'
]
=
'severity'
;
/* Sort criterion: Feeds log: Log
time
*/
/* Sort criterion: Feeds log: Log
id
*/
$handler
->
display
->
display_options
[
'sorts'
][
'
log_time
'
][
'id'
]
=
'
log_time
'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
flid
'
][
'id'
]
=
'
flid
'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
log_time
'
][
'table'
]
=
'feeds_log'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
flid
'
][
'table'
]
=
'feeds_log'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
log_time
'
][
'field'
]
=
'
log_time
'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
flid
'
][
'field'
]
=
'
flid
'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
log_time
'
][
'order'
]
=
'DESC'
;
$handler
->
display
->
display_options
[
'sorts'
][
'
flid
'
][
'order'
]
=
'DESC'
;
/* Contextual filter: Feeds log: Importer id */
/* Contextual filter: Feeds log: Importer id */
$handler
->
display
->
display_options
[
'arguments'
][
'id'
][
'id'
]
=
'id'
;
$handler
->
display
->
display_options
[
'arguments'
][
'id'
][
'id'
]
=
'id'
;
$handler
->
display
->
display_options
[
'arguments'
][
'id'
][
'table'
]
=
'feeds_log'
;
$handler
->
display
->
display_options
[
'arguments'
][
'id'
][
'table'
]
=
'feeds_log'
;
...
...
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