Download & Extend

Make date-type fields in ASIN module into real date fields instead of strings

Project:Amazon Module
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

HI all,
I've pulled in all the info from amazon using the amazon relationships--which is wonderful! thanks!

Now to fine tune:

I'm trying to use the amazon publication date to filter. But I don't get the full range of choices to use. I want to use
'equal to or greater than' but there is not a greater than (or many of the other standard options) in the list.

Is this a bug? Or should I change this to feature request?
Connie

Comments

#1

Project:Views» Amazon Module
Version:6.x-2.x-dev»
Component:node data» Code
Category:bug report» feature request

this is definitve a feature request of the Amazon module see

  // We probably want to convert this to a real date field.
  _amazon_make_simple_text_field($data, 'amazon_item', 'releasedate', 'Release date', 'The release date of the product.');

but i think this should be a rather simple task

#2

Great!
Here's the research I've done, but I don't know what to do from here:

I just double-checked my tables to verify that amazon rarely adds any data into the release date field, but almost always uses the publicationdate field.

The publicationdate, is a field in the amazon_book table. While the publication data field is type varchar, the data format is always yyyy-mm-dd .

Let me know what I can do to help! I would really, really love to have this feature!

Connie

PS Release date and publictiondate are the only two fields that hold dates from that are pulled in with the Amazon module

#3

Status:active» closed (won't fix)

THis should be filed against hte module that provides the filter.

#4

Status:closed (won't fix)» active

Reassigned to module that provides the filter.--Amazon module

Connie

#5

Title:Amazon publication date not working as date in filter» Make date-type fields in ASIN module into real date fields instead of strings

You are correct in your analysis. This will go on the list. Patches from the community are welcome. This does not look too hard.

#6

Status:active» fixed

There is now full handling for presentation of the date and you can filter by date as well. Greater than and less than are supported.
http://drupal.org/cvs?commit=276142

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here