02a3544590
- change model.Notebook.sql_search_notes() to be a static method - take a first_notebook_id argument and a user_id argument - join user_notebook on notebook_id and matches on user_notebook.user_id instead of notebook_id - order by notebook_id = first_notebook desc, rank instead of just rank - include search result for notebooks readable by anonymous user, but only if such a notebook is given as first_notebook_id - update code that calls model.Notebook.sql_search_notes() - update model.Note.to_dict() to include notebook_id - modify Wiki.display_search_results() - separate search results for the current notebook and results for all other notebooks - indicate which notebook each result is from - if there are results in other notebooks but no results in the current notebook, indicate that clearly - when you click on a result note link in the current notebook, it should simply open a new note - when you click on a result note link in another notebook, it should open in a new window - test in IE - update unit tests for: - controller.Notebooks.search() - model.Notebook.sql_search_notes() - model.Note.to_dict() |
||
---|---|---|
.. | ||
download.css | ||
header.css | ||
ie6.css | ||
ie7.css | ||
note.css | ||
product.css | ||
style.css | ||
upload.css |