Moodle

Global search does not include assignments

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.4
  • Component/s: Global search
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

At least it doesn't at the moment on my install, but I get stuck with the wiki indexer, so maybe that's why. My students want to find out where a certain assignment is and are not sure where to look so they search, but it doesn't come up.

Issue Links

Activity

Hide
Valery Fremaux added a comment -

There is no major problem to add the relevant search wrapper.

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.

Show
Valery Fremaux added a comment - There is no major problem to add the relevant search wrapper. 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.
Hide
Matt Gibson added a comment -

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.

Show
Matt Gibson added a comment - 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.
Hide
Valery Fremaux added a comment -

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.
Upload assignment content is directly viewable by a file.php/... direct link to physical file.

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.

Show
Valery Fremaux added a comment - 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. Upload assignment content is directly viewable by a file.php/... direct link to physical file. 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.
Hide
Valery Fremaux added a comment -

Note that above has only concerns for submissions, but maybe submissions should not be searchable at all... ??

Show
Valery Fremaux added a comment - Note that above has only concerns for submissions, but maybe submissions should not be searchable at all... ??
Hide
Valery Fremaux added a comment -

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.

Show
Valery Fremaux added a comment - 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.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: