Commit 3165f9c3 authored by merlinofchaos's avatar merlinofchaos

#100769: link book nodes by vid instead of nid

parent 51fe2187
......@@ -66,3 +66,4 @@ Views 5.x-1.2-beta-1
Views --dev
Bugs fixed:
o Reverted 99783 which doesn't work.
o 100769: link book table via vid instead of nid.
......@@ -12,10 +12,10 @@ function book_views_tables() {
'join' => array(
'left' => array(
'table' => 'node',
'field' => 'nid'
'field' => 'vid'
),
'right' => array(
'field' => 'nid'
'field' => 'vid'
)
),
"filters" => array(
......
......@@ -599,7 +599,7 @@ function views_handler_arg_monthyear($op, &$query, $argtype, $arg = '') {
case 'link':
return l(format_date($query->created, 'custom', 'F, Y'), "$arg/$query->name");
case 'title':
return format_date(strtotime("${query}01"), 'custom', 'F, Y', 0);
return format_date(strtotime("${query}15"), 'custom', 'F, Y', 0);
}
}
function views_handler_arg_fulldate($op, &$query, $argtype, $arg = '') {
......
; $Id$
name = Views
description = The views module creates customized views of node lists.
version = $Name$
version = "$Name$"
package = Views
; $Id$
name = Views RSS
description = RSS plugin for the views feed selector argument.
version = $Name$
version = "$Name$"
package = Views
dependencies = views
......@@ -82,7 +82,7 @@ function views_rss_views_feed_argument($op, &$view, $arg) {
$filters = drupal_query_string_encode($view->used_filters);
}
drupal_add_feed($title, $filters);
drupal_add_feed($url, $filters);
}
}
......
; $Id$
name = Views Theme Wizard
description = The views theme wizard helps create stub theming for views.
version = $Name$
version = "$Name$"
package = Views
dependencies = views
; $Id$
name = Views UI
description = The Views UI module allows you to create and edit views.
version = $Name$
version = "$Name$"
package = Views
dependencies = views
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment