Needs review
Project:
Apache Solr AJAX
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 13:39 UTC
Updated:
20 Jul 2011 at 18:41 UTC
When the new versions of the search blocks are retrieved, they are appended to the end of the region they belong to. This means that any non-search blocks float to the top after any change to the search query. Blocks are usually put in a certain order for a reason, so it's better to preserve it if we can.
Instead of appendTo(), I propose the response callback uses replaceWith() to change the blocks.
| Comment | File | Size | Author |
|---|---|---|---|
| replaceWith.patch | 1.15 KB | Island Usurper |
Comments
Comment #1
jonvk commentedI agree this should be fixed. I've tested it on a small demo site and it seemed to work fine, but I will try and get it on something with more content before committing.