Fixing search results
In the last video, we got our scroll loading feature pretty much finished. There are two little things that I want to add to make it perfect, though.
Firstly, the search message at the top says how many items are showing, but we really want this to be the number of items found. So 4 should be 11.
Easy fix, though - we can go to the template and instead of interpolating products.length
, we interpolate results.length
.
index.html
Click to load comments...