Comparison

mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 2405:7bce126bf60c

mod_storage_xmlarchive: Skip remaining dates correctly (fixes #790)
author Kim Alvefur <zash@zash.se>
date Fri, 02 Dec 2016 17:39:11 +0100
parent 2399:913bd81a4d3c
child 2420:309db11494c2
comparison
equal deleted inserted replaced
2404:9af2d36567a8 2405:7bce126bf60c
65 if items[i].id == id then 65 if items[i].id == id then
66 return d, i, items; 66 return d, i, items;
67 end 67 end
68 end 68 end
69 return; -- Assuming no duplicates 69 return; -- Assuming no duplicates
70 elseif date > dates[d] then 70 elseif date < dates[d] then
71 return; -- List is assumed to be sorted 71 return; -- List is assumed to be sorted
72 end 72 end
73 end 73 end
74 end 74 end
75 75