In my excitement to use proper search filtering, I think I'm getting off 
track of the original issue..  Sorry about that!

There's a few fundamental things that need to remain true with the 
implementation:

   1. The main Course list on the Studio home page needs to be in sync with 
   the contentstore.
   How do we keep from introducing cache syncing issues that would disrupt 
   what Course Authors can see in the main list?
   
   2. Our client wants the Archived (i.e., past end date) courses to be 
   excluded from this main list.
   Can this be achieved by excluding courses where has_ended() 
   
<https://github.com/edx/edx-platform/blob/fb36c7df6c7a96a1fbb4a7776a814ce59f98fd76/common/lib/xmodule/xmodule/course_module.py#L1049>
 
   == True, like we currently do with in-progress courses 
   
<https://github.com/edx/edx-platform/blob/54eb9e84b4153c3a29b6f7064fee9808b4fe22d7/cms/djangoapps/contentstore/views/course.py#L522>
   ?
   
   3. Archived courses should still be accessible from the Studio home 
   page, so they can be re-run and referenced.
   What's the best way to represent this in the GUI?
   
   4. Loading the list of Archived courses on demand requires an 
   asynchronous endpoint to be added to Studio.
   What's the best way to implement this asynchronous endpoint?
   Can I just add a /search url to Studio which reference edx-search's 
   search.urls 
   <https://github.com/edx/edx-search/blob/master/search/urls.py> like the LMS 
   does 
   <https://github.com/edx/edx-platform/blob/master/lms/urls.py#L62-L63>, 
   and just use the existing  /search/course_discovery endpoint 
   
<https://github.com/edx/edx-search/blob/003e1fcbf695ac893a11399456ebd80143720b16/search/api.py#L68>?
 
    It looks like it could be expanded to filter by the Availability 
   property 
   
<https://github.com/edx/course-discovery/blob/master/course_discovery/apps/course_metadata/models.py#L575>
 that 
   already exists in the course metadata.
   Does this mean I can do it without actually running the course-discovery 
   service? 

Any advice you can offer is welcome!

--
Jill
@OpenCraft <http://opencraft.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/ee46d6cf-b4b7-4fd7-a159-2522c6991adf%40googlegroups.com.

Reply via email to