Changing the Default Search

12 views
Skip to first unread message

Martha S

unread,
May 26, 2020, 3:51:46 PM5/26/20
to Arches Project
Hi, all,

I'm looking for the most appropriate place to change the default search in Arches. Would it be an override to urls.py, search.py or somewhere else? I'd like to catch it as early in the process as possible, so I can change it in a single place.

Thanks,
Martha

Alexei Peters

unread,
May 27, 2020, 2:49:29 PM5/27/20
to Martha S, Arches Project
Hi Martha,
If you want to replace the entire page with something custom, then you could go to urls.py and redirect that url to your page.
-Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesprojec...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archesprojec...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/65aa4732-c825-445b-aab9-1887ed5b2c30%40googlegroups.com.

Martha S

unread,
May 27, 2020, 4:07:52 PM5/27/20
to Arches Project
I'm sorry I wasn't more clear, Alexei,

I just want to use a filtered search, instead of the default no filter search.

Martha


On Wednesday, May 27, 2020 at 11:49:29 AM UTC-7, Alexei Peters wrote:
Hi Martha,
If you want to replace the entire page with something custom, then you could go to urls.py and redirect that url to your page.
-Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


On Tue, May 26, 2020 at 12:51 PM Martha S <marth...@lacity.org> wrote:
Hi, all,

I'm looking for the most appropriate place to change the default search in Arches. Would it be an override to urls.py, search.py or somewhere else? I'd like to catch it as early in the process as possible, so I can change it in a single place.

Thanks,
Martha

--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to arches...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en

---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arches...@googlegroups.com.

Martha S

unread,
May 27, 2020, 6:58:20 PM5/27/20
to Arches Project
I ended up subbing my search for the search_home reference where appropriate. 

Martha
Reply all
Reply to author
Forward
0 new messages