Jump to content
thirty bees forum
  • 0

Search terms can't edit only delete


Question

7 answers to this question

Recommended Posts

  • 0
Posted

This is working differently. I think its not a bug the way it is right now, but I believe that the alias mechanism is not working properly. right now you can add an aliases separated with comma and it will save each alias with one result. but it actually saves the alias as types (xxx, yyy, zzz). now the search controller is looking to compare against one alias (word) at the time which make it not working the way it is. So we need to decide whats the best way to fix it. I think we should save only one object per search/result with multiple aliases and fix the search controller to loop over the aliase's.

@administrators what do you think?

  • 0
Posted

After studying it more. I realized that each alias is being saved separately in the DB. just when editing an alias it shows all related aliases to the same search result. So I believe we should keep it the way it is. The only downside is that when you want to edit an alias you only able to add new ones, the system will not edit existing ones. I thought about changing it to show single alias when you edit and than have the option to edit a specific one, but if we are doing it that way, we wont be able to add multiple aliases while we edit. so right now i am a bit confused of whats the best way to handle it.

  • 0
Posted

Not sure I understand completely, so the default install alias leaves the sample search terms coffee cofee in the database even if all the default info is removed?

Or only if new search terms are added by the current install if default info is removed completely from BO cleaner?

If the terms stay no matter what I'd like to see a way for non mysql savvy folks be able to have it removed automagically through edit. Or at least pointed in the right direction on how to do it properly themselves. ex will search cofee then drop from database all it needs?

Probably not a big deal since there are only a few alias search words but it's like taking out the trash, get it gone if not wanted. But whatever makes things work the best! Especially if more important things need to be done.

SAME with the module installs, I wish they removed whatever badly written module bits left behind even after being uninstalled/deleted.

  • 0
Posted

You can delete all the alias to completely remove it. Let me explain better. If you create new alias like that:

aliases: dhirtybees, tirtybees, thirtibees result: thirtybees

in the database you will have 3 separate rows. 1. dhirtybees -> thirtybees 2. tirtybees-> thirtybees 3. thirtibees-> thirtybees

when you go into edit mode (doesn't matter on which one of them), you will see all 3 aliases separated with commas like you enter them before (this is not the actual record from the db but a combination of all matching aliases result). in this part you wont be able to update one of the values, because no matter what you enter in the alias field, when saving it to the db it will break each alias and save it separately (it wont create duplicate record).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...