Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
2842bc14
Commit
2842bc14
authored
Jul 29, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
some random bug fixes
parent
81f57691
Changes
11
Hide whitespace changes
Inline
Side-by-side
lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
View file @
2842bc14
...
...
@@ -40,6 +40,9 @@
*
* @ingroup views_argument_handlers
*/
/**
*/
class
ArgumentPluginBase
extends
Handler
{
var
$validator
=
NULL
;
...
...
lib/Drupal/views/Plugin/views/argument/ManyToOne.php
View file @
2842bc14
...
...
@@ -8,6 +8,7 @@
namespace
Drupal\views\Plugin\views\argument
;
use
Drupal\Core\Annotation\Plugin
;
use
Drupal\views\ManyToOneHelper
;
/**
* An argument handler for use in fields that have a many to one relationship
...
...
@@ -31,7 +32,7 @@
class
ManyToOne
extends
ArgumentPluginBase
{
function
init
(
&
$view
,
&
$options
)
{
parent
::
init
(
$view
,
$options
);
$this
->
helper
=
new
views_many_to_one_h
elper
(
$this
);
$this
->
helper
=
new
ManyToOneH
elper
(
$this
);
// Ensure defaults for these, during summaries and stuff:
$this
->
operator
=
'or'
;
...
...
@@ -52,7 +53,7 @@ function option_definition() {
$this
->
helper
->
option_definition
(
$options
);
}
else
{
$helper
=
new
views_many_to_one_h
elper
(
$this
);
$helper
=
new
ManyToOneH
elper
(
$this
);
$helper
->
option_definition
(
$options
);
}
...
...
lib/Drupal/views/Plugin/views/wizard/TaxonomyTerm.php
View file @
2842bc14
...
...
@@ -17,7 +17,6 @@
* @Plugin(
* plugin_id = "taxonomy_term",
* base_table = "taxonomy_term_data",
* created_column = "created",
* title = @Translation("Taxonomy terms"),
* path_field = {
* "id" = "tid",
...
...
lib/Views/aggregator/Plugin/views/argument/Iid.php
View file @
2842bc14
...
...
@@ -21,7 +21,7 @@
* plugin_id = "aggregator_iid"
* )
*/
class
views_handler_argument_aggregator_i
id
extends
Numeric
{
class
I
id
extends
Numeric
{
/**
* Override the behavior of title(). Get the title of the category.
*/
...
...
lib/Views/node/Plugin/views/argument/CreatedWeek.php
View file @
2842bc14
...
...
@@ -12,6 +12,7 @@
/**
* @Plugin(
* plugin_id = "node_created_week"
* )
*/
class
CreatedWeek
extends
Date
{
/**
...
...
lib/Views/node/Plugin/views/argument/CreatedYear.php
View file @
2842bc14
...
...
@@ -12,6 +12,7 @@
/**
* @Plugin(
* plugin_id = "node_created_year"
* )
*/
class
CreatedYear
extends
Date
{
/**
...
...
lib/Views/node/Plugin/views/argument/CreatedYearMonth.php
View file @
2842bc14
...
...
@@ -12,6 +12,7 @@
/**
* @Plugin(
* plugin_id = "node_created_year_month"
* )
*/
class
CreatedYearMonth
extends
Date
{
/**
...
...
lib/Views/node/Plugin/views/argument/UidRevision.php
View file @
2842bc14
...
...
@@ -7,7 +7,7 @@
namespace
Views\node\Plugin\views\argument
;
use
Views\user\Plugin\views\argument\
User
Uid
;
use
Views\user\Plugin\views\argument\Uid
;
use
Drupal\Core\Annotation\Plugin
;
/**
...
...
@@ -20,7 +20,7 @@
* plugin_id = "node_uid_revision"
* )
*/
class
UidRevision
extends
User
Uid
{
class
UidRevision
extends
Uid
{
function
query
(
$group_by
=
FALSE
)
{
$this
->
ensure_my_table
();
$placeholder
=
$this
->
placeholder
();
...
...
lib/Views/search/Plugin/views/argument/Search.php
View file @
2842bc14
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_search.
*/
namespace
Views\
node
\Plugin\views\argument
;
namespace
Views\
search
\Plugin\views\argument
;
use
Drupal\views\Join
;
use
Drupal\views\Plugin\views\argument\ArgumentPluginBase
;
...
...
lib/Views/user/Plugin/views/argument/RolesRid.php
View file @
2842bc14
...
...
@@ -18,7 +18,7 @@
/**
* @Plugin(
* plugin_id = "user_roles_rid"
* plugin_id = "user
s
_roles_rid"
* )
*/
class
RolesRid
extends
ManyToOne
{
...
...
modules/taxonomy.views.inc
View file @
2842bc14
...
...
@@ -160,7 +160,7 @@ function taxonomy_views_data() {
'filter'
=>
array
(
'title'
=>
t
(
'Term'
),
'help'
=>
t
(
'Taxonomy term chosen from autocomplete or select widget.'
),
'plugin_id'
=>
'taxonomy_tid'
,
'plugin_id'
=>
'taxonomy_
index_
tid'
,
'hierarchy table'
=>
'taxonomy_term_hierarchy'
,
'numeric'
=>
TRUE
,
),
...
...
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