Posted by TwoD on May 1, 2012 at 8:13am
2 followers
Jump to:
| Project: | dRealty IDX |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
This patch adds an option to ignore expired listings.
It is required if you create a custom incremental query which will not return the entire set of available listings, such as incremental imports of only the listings updated since the last successful import.
I use a separate connection with different credentials mapped to the same Drealty property types to fetch a complete list of all available listings and set it to delete expired listings.
The secondary connection does not contain all fields, which means the hash would not be the same as in the first connection, but that is worked around using another patch which disables field mappings.
| Attachment | Size |
|---|---|
| drealty.ignore-expired.patch | 1.31 KB |
Comments
#1
The patch I use in combination with this one is in #1555746: Disable field mapping/import for a connection.
#2
Hmm.. this is a really hairy issue regarding handle_expired.
See #1803422: handle_expired deletes listings even if they are in the feed