Thanks Adam. You pointing out that hip doesn't define the dropdown in the search.py file made me compare the hip search.py to ours and it looks like the function that does define these in our application only applies them to the search.htm. I'll poke around a little more and see if there is a way I can get them to apply to the related resource page. This has helped narrow things down a bit.
Andy On Thursday, April 14, 2016 at 1:55:33 PM UTC-7, Adam Cox wrote: > > Hi Andy, that's very strange. I can't speak for your customized app, but > the default Arches-HIP app uses the same HTML file > (templates/views/search/time-filter.htm) in both the related resource page > and the search results page. I have a feeling that the construction is > different, however, because in Arches-HIP the date types are not defined in > the search.py view, but as a list of concepts that are pulled in by the > select2 dropdown widget in the time-filter.htm file. > > Adam > > On Thursday, April 14, 2016 at 11:08:00 AM UTC-6, Andy Graham wrote: >> >> I have run into an issue with the time filter in our customized >> application. On the Search page the time filter has a dropdown menu for >> "Type of Date" and lists several date entities we have defined in the >> views\search.py file. This time filter works fine on the Search page. >> However, when I am trying to add a Related Resource via a Resource Form, >> and I use the time filter to filter the possible resources nothing shows up >> in the dropdown box. Photos are attached. Have poked around quite a bit >> and can't figure out why there would be a difference here. Does anyone >> have any suggestions? Thanks for the help. >> >> Andy >> >> >> <https://lh3.googleusercontent.com/-IOSvuJa5sqQ/Vw_OUx-q9nI/AAAAAAAAFjE/gQBKqeM9oO4YcjuAKeBVQ2BPINxAevV4QCLcB/s1600/searchpage.JPG> >> >> >> <https://lh3.googleusercontent.com/-o9i5GiL-GYw/Vw_OW_41m_I/AAAAAAAAFjI/EbgNlWvPXmUZKHzMdXtG7AkwKWFw8gOFQCLcB/s1600/relatedresource.JPG> >> >> > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
