|
Hi Valery,
that would be great. The scenario I had in mind, of using search to find assignments on a certain topic, e.g. if I have said there is an essay to do, but they cannot find the right one, would apply to many modules. Perhaps all of them. Workshop and quiz spring to mind, as well as quiz questions, as I have often wondered if I have got a question on a certain topic but in another category somewhere. Starting coding the assignment_document.php file assignment search raises an issue :
how to give access back to the resource. In fact we should propose an access to the "information source" depending on the assignmenttype. On line assignments content is only viewable (teacher side) from a popup. The question is : what would be the correct way to give back access to the assignment content keeping a miniam "document shaped" situation. The problem with upload assignment is, if we give back access directly to the physical file, that we loose all the assignment context (would we need to keep it ?), and probably a possibility for the user to start browsing from that point. An idea but that seems not fully interesting would be to give back access to the submission list. But this would be not straight enough on the found resource. Another solution implies adding to the assigment module a special view that allows viewing any submission as a single document./page including relevant navigation breadcrumb so we could start from that point to browse elsewhere. In case the submission is uploaded, it would present the contextual information along with links to the documents, allowing one link to be highlighted. Maybe this would be likely to be implemented in the search engine itself, but I think it would more relevant the module provides this additional views. Tell me about. Note that above has only concerns for submissions, but maybe submissions should not be searchable at all... ??
Assignment handling has been added and committed for the next release of 1.9 branch. Work is in progress to forward porting those stabilizing changes in 2.0 HEAD. Need some tests for validating all use cases around assignment searching.
Search WILL NOT search within student's submissions. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tell me if it is globally usefull for most users. I will add this wrapper in next global search related work slot.
In the same way, tell me if other standard modules (and yet known to be non searchable) should propose
searchability. It is not a huge work for who knows the search API.
Regards.
Valery.