Edit courseware_index.py

Hi, I want to edit courseware_index.py but searching the platform there are 4 instances of the file. Which one I have to edit?

/var/lib/docker/overlay2/a8ee7d2a291fcf4cd64524bba1f45ce1179c140fd700f36ffe75787c4fddea33/diff/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/be3695fa8a54180714aeba95796e7e21f3781e5b6b93423508edc39b4d6d1953/merged/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/dc4336b937004629084e0c12207f31ee9f840084aec01cd93cf8c1e0bd19069e/merged/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/b7992e7cc38bb93c946940e9f51620da6dfe27170b01965f9187f2596069f8db/diff/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/4f4dca9309dd6facec6c8c403931b498ce901b0b04f559de4721cc6a0c2d0ae6/merged/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/dd97bcdcd50b00a96ef82a8595fb65ddc1d56ce6c0b1eeea53a30de317a273d0/merged/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/a8edba0efe28f8eda8e03f55ca503325b6437ef9a1ae13a691f0d130f997b362/diff/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/83d31944879c9c81f4002106f8af2ed95392aaa842888986b7ad0adbc00e7296/diff/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py
/var/lib/docker/overlay2/ed7f96f3065eae76ce749111b022eb8b76641f7652e35efef7bd3dbc8309d52c/diff/openedx/edx-platform/cms/djangoapps/contentstore/courseware_index.py

I think it’s the same exact file, you are probably searching the running containers which all shares the same image, which can be lms, cms , lms-worker, cms-worker… in case of devstack replace cms with studio.

Ok thanks. I’ll try it.

Another question. I try to add my own search criteria except for org, modes and language. I have found many criteria in the file courseware_index.py, but only the criteria FROM_COURSE_PROPERTY and FROM_COURSE_MODE work. How can I use criteria FROM_ABOUT_INFO. What do I have to add to the About page?

I manage to add a new searching criterion but now I see only one course although I have reindex the courses. Why?