Oops - remove hardcoded path and use self.url, one too many ctrl-zs when testing :(
This commit is contained in:
@@ -116,7 +116,7 @@ class States(PA):
|
|||||||
self.path_type = 'Bin'
|
self.path_type = 'Bin'
|
||||||
elif 'search' in self.url:
|
elif 'search' in self.url:
|
||||||
# okay if we are a search, but came from a view then get last_search_state form prefs and use it
|
# okay if we are a search, but came from a view then get last_search_state form prefs and use it
|
||||||
m=re.match( '.*search/(.+)$', 'search/AI:dad' )
|
m=re.match( '.*search/(.+)$', self.url )
|
||||||
if m == None:
|
if m == None:
|
||||||
SetFELog( message=f"ERROR: DDP messed up, seems we are processing a search, but cant see the search term - is this even possible?" )
|
SetFELog( message=f"ERROR: DDP messed up, seems we are processing a search, but cant see the search term - is this even possible?" )
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user