When you select the max range you cannot set an integer greater than the max NID available for the selected content type. This behavior force users to manually change it every time a new node is created.
I suggest to allow an empty value on the max NID.
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | range_validation_google_image_sitemap_1844074.patch | 5.09 KB | astonvictor |
| #1 | 1844074-1.patch | 5.31 KB | imiksu |
Comments
Comment #1
imiksuPatch for this request. I'll change this as feature request since in theory it works as designed.
The patch is against 7.x-1.2.
I see Suhani Jain's commit (a0b9d251cc3c2234d11cd11d4b75747774e7a93e) at repository, but it doesn't remove the Node ID usage restriction.
Comment #2
imiksuComment #3
joelrotelli commentedVery usefull patch, works like a charm, thanks a lot !
Comment #4
tamarpe commentedWorks very well, Thank you ! :)
Comment #5
astonvictor commentedThe code above is incorrect. It uses for $query->range($offset, $length);
It should be possible to add $query->range(100, 50);
See range() info.
Comment #6
astonvictor commented