This is the only part of CCK which doesn't support the Drupals revisioning system, some work you can see in Revisionreference module, but it duplicates code and it don't have the support of noderef. dependent modules.

Members fund testing for the Drupal project. Drupal Association Learn more

Comments

vkareh’s picture

Status: Active » Needs review
FileSize
1.18 KB

I added very simple revision support... The title in the widget currently displays the value in the title column of the node table. The attached patch displays the title value of the node_revisions table that's linked from the node itself through the vid, therefore showing the title of the currently published revision.

Alka Kumari’s picture

The patch has the standard a/ and b/ prefixes and named correctly. The attached patch displays the title value of the currently published revision from the node_revisions table that's linked from the node through the vid.

Alka Kumari’s picture

Please review.

vijaycs85’s picture

Status: Needs review » Reviewed & tested by the community

Looks good me and I can see this is how core(in node_load) manage to get the title. I don't think the testbot enabled for this module.

Alka Kumari’s picture

Thanks @vijaycs85

Alka Kumari’s picture

Can it be committed?